GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   FreeBSD Question (https://gfy.com/showthread.php?t=312391)

andi_germany 06-14-2004 10:53 AM

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?

notjoe 06-14-2004 11:22 AM

Quote:

Originally posted by andi_germany
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?

I believe it is from the linux_compat stuff which isnt installed by default.

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 :)

andi_germany 06-14-2004 12:28 PM

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