FreeBSD Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andi_germany
    Confirmed User
    • Oct 2002
    • 768

    #1

    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?
    SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
  • notjoe
    Confirmed User
    • May 2002
    • 5599

    #2
    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

    Comment

    • andi_germany
      Confirmed User
      • Oct 2002
      • 768

      #3
      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.
      SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

      Comment

      Working...