Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 21:25:04 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   error with //usr/libexec/elf/ld ...
Message-ID:  <Pine.BSF.4.05.9901272123550.94383-100000@thelab.hub.org>

next in thread | raw e-mail | index | archive | help

Not sure why I'm getting this...figure its bound to be obvious to someone,
but ld-elf.so.hints appears to find it...why can't ld? :(

Thanks...


 + enabling generation of Apache core as DSO
/usr/libexec/elf/ld: cannot open -lpq: No such file or directory
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!
hub# ls /usr
hub# ldconfig -elf -r
/var/run/ld-elf.so.hints:
        search directories:
/usr/lib/aout:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/pgsql/lib:/usr/local/lib/m3/FreeBSD2:/home/db/lib:/home/db/lib/aout
        0:-lStrn.1 => /usr/local/lib/libStrn.so.1
        1:-lncftp.2 => /usr/local/lib/libncftp.so.2
        2:-lpq.2 => /usr/local/pgsql/lib/libpq.so.2
        3:-lecpg.2 => /usr/local/pgsql/lib/libecpg.so.2
        4:-lpq++.2 => /usr/local/pgsql/lib/libpq++.so.2
hub# ls /usr/local/pgsql/lib/
hub# ls /usr/local/lib/
hub# ls /usr/local/pgsql/lib
aout                            libpq++.so.2.0
global1.bki.source              libpq.a
global1.description             libpq.so
libecpg.a                       libpq.so.2
libecpg.so                      libpq.so.2.0
libecpg.so.2                    local1_template1.bki.source
libecpg.so.2.6.2                local1_template1.description
libpq++.a                       pg_geqo.sample
libpq++.so                      pg_hba.conf.sample
libpq++.so.2                    plpgsql.so


Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901272123550.94383-100000>