[Last Call] Learn how to a build a cloud-first strategyRegister Now


libapreq2 problems

Posted on 2005-05-11
Medium Priority
Last Modified: 2013-11-22
I am trying to install libapreq2 on my FreeBSD box and I get the following error

gmake[2]: Entering directory `/usr/data/src/libapreq2-2.05-dev/library'
/usr/local/bin/bash ../libtool --mode=link gcc  -g -O2   -o libapreq2.la -rpath /usr/local/psa/apache/lib -version-info 3:0:1  /usr/local/psa/apache/lib/libapr-0.la /usr/local/psa/apache/lib/libaprutil-0.la -Lno/lib  -lexpat -liconv -lm -lcrypt -L/usr/local/psa/apache/lib /usr/home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/release/openssl/lib/libssl.a /usr/home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/release/openssl/lib/libcrypto.a -lz util.lo version.lo cookie.lo param.lo parser.lo parser_urlencoded.lo parser_header.lo parser_multipart.lo module.lo module_custom.lo module_cgi.lo error.lo  
../libtool: line 1: cd: no/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `no/lib'
gmake[2]: *** [libapreq2.la] Error 1
gmake[2]: Leaving directory `/usr/data/src/libapreq2-2.05-dev/library'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/data/src/libapreq2-2.05-dev/library'
gmake: *** [all-recursive] Error 1

Any ideas??
Question by:dkattan

Expert Comment

ID: 13983427
Have you tried installing from a package?

pkg_add -r p5-libapreq2



Author Comment

ID: 13983714
yes, it tries to install all the dependencies like apache2 and mod_perl. How can I set it to use the existing software through pkg_add?

Accepted Solution

David Piniella earned 1000 total points
ID: 13983758
download just the package manually and install -- you may need to force it, which if you're not sure of what you're doing, you shouldn't do, but if you know you have the other deps you need, should work (could make a mess of your portsdb though)
LVL 62

Assisted Solution

gheist earned 1000 total points
ID: 14004926
You use some crap-build of ssl to link to.
Your build was doomed to break with all the toolchain/depends built in adhoc manner
LVL 62

Expert Comment

ID: 15569278
cd /usr/ports/www/p5-libapreq2
make install

no faults here.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question