![]() |
FreeBSD Question
I got a problem compiling apache with an external modul. configure brings an error that it can't find necessary files.
After some research the solution seems to be to add a path to the needed files into etc/ld.so.conf . However I cannot find that file on my FreeBSD 4.9 box. Is the above file only part of a linux distribution or can I simply create that file? Or is there another way in FreeBSD to set the lib paths? |
Quote:
to install the linux compat stuff do cd /usr/ports/emulators/linux_base-8;make;make install However, i doubt that is your problem... can you paste the compile errors? You might also want to check in /usr/compat/linux/etc for the conf file :) |
cofigure runs fine and the problem is occuring during make: here is the output:
--- ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_status.o mod_include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_setenvif.o ranlib libstandard.a <hahahaha= src/modules/standard hahahaha=> src/modules/extra gcc -c -I../../os/unix -I../../include -funsigned-char -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_geoip.c mod_geoip.c:95: GeoIP.h: No such file or directory mod_geoip.c:96: GeoIPCity.h: No such file or directory *** Error code 1 Stop in /usr/home/andi/apache_1.3.31/src/modules/extra. *** Error code 1 Stop in /usr/home/andi/apache_1.3.31/src/modules. *** Error code 1 Stop in /usr/home/andi/apache_1.3.31/src. *** Error code 1 Stop in /usr/home/andi/apache_1.3.31. *** Error code 1 Stop in /usr/home/andi/apache_1.3.31 ---- I might just need to copy the files into the extras folder besides the GeoIP.c I already have copied there. |
All times are GMT -7. The time now is 12:13 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123