Check your library paths. On Linux, make sure that /usr/local/pgsql/lib is listed in /etc/ld.so.conf and on BSD's... uh, it someplace ;-)
Aaron On Mon, 28 Jul 2003, Robert Gil wrote: > it does not find any of the librarys even when they are there.... its quite > strange. Its the same for both pgsql and mysql. > > > >From: "Robert Gil" <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: Re: [Dbmail] not finding any librarys > >Date: Sun, 27 Jul 2003 23:06:34 -0400 > > > >Came across another problem..... > > > > > >[EMAIL PROTECTED]:~/dbmail-1.1# dbmail-adduser a username password 0 0 > >[EMAIL PROTECTED] [EMAIL PROTECTED] > > > >dbmail-adduser: error while loading shared libraries: libpq.so.3: cannot > >open shared object file: No such file or directory > >[EMAIL PROTECTED]:~/dbmail-1.1# locate libpq.so.3 > >/usr/local/pgsql/lib/libpq.so.3 > >/usr/local/pgsql/lib/libpq.so.3.0 > >/home/user/postgresql-7.3.3/src/interfaces/libpq/libpq.so.3.0 > >/home/user/postgresql-7.3.3/src/interfaces/libpq/libpq.so.3 > > > > > > > >>From: "Robert Gil" <[EMAIL PROTECTED]> > >>Reply-To: [email protected] > >>To: [email protected] > >>Subject: Re: [Dbmail] not finding any librarys > >>Date: Sun, 27 Jul 2003 22:57:35 -0400 > >> > >> > >>Excuse my terrible spelling, and secondly i found the problem. Unless > >>pgsql is conpiled with ssl and crypt the library wont be there, therefore > >>perhaps there should be some kind of check when it creates the makefile. > >> > >>thanks anyway > >> > >>>From: "Robert Gil" <[EMAIL PROTECTED]> > >>>Reply-To: [email protected] > >>>To: [email protected] > >>>Subject: [Dbmail] not finding any librarys > >>>Date: Sun, 27 Jul 2003 22:51:22 -0400 > >>> > >>>dbmail fails to recognize any of the librarys on make. im running slack > >>>9. perhaps its not searching the right directorys? > >>> > >>>here is the error: > >>> > >>>Done. You can now make dbmail by running 'make clean all'. > >>>Do you want this to be executed right now? > >>>y > >>>rm -f *.o core pgsql/*.o > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o list.o list.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o debug.o debug.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o pipe.o pipe.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o mime.o mime.c > >>>cc -o pgsql/dbpgsql.o -c pgsql/dbpgsql.c -L/usr/local/pgsql/lib/ > >>>-I/usr/local/pg > >>>sql/include/ > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o dbmd5.o dbmd5.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o md5.o md5.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o bounce.o bounce.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o forward.o forward.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o memblock.o memblock.c > >>>cc -o pgsql/dbauthpgsql.o -c pgsql/dbauthpgsql.c -L/usr/local/pgsql/lib/ > >>>-I/usr/ > >>>local/pgsql/include/ > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o config.o config.c > >>>cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp > >>>list.o debu > >>>g.o pipe.o mime.o pgsql/dbpgsql.o dbmd5.o md5.o bounce.o forward.o > >>>memblock.o pg > >>>sql/dbauthpgsql.o config.o -L/usr/local/pgsql/lib/ > >>>-I/usr/local/pgsql/include/ - > >>>lpq -lcrypto -lssl > >>>/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin > >>>/ld: cannot find -lcrypto > >>>collect2: ld returned 1 exit status > >>>make: *** [smtp] Error 1 > >>>Sorry, Make failed. > >>>Please report any problems to the mailing list: [email protected] > >>>You can find more information (including how to subscribe to the > >>>mailinglist) on > >>>www.dbmail.org > >>> > >>> > >>> > >>>-Thanks for any help > >>> > >>> > >>> Rob Gil - Critical Fault > >>> > >>>_________________________________________________________________ > >>>Add photos to your e-mail with MSN 8. Get 2 months FREE*. > >>>http://join.msn.com/?page=features/featuredemail > >>> > >>>_______________________________________________ > >>>Dbmail mailing list > >>>[email protected] > >>>https://mailman.fastxs.nl/mailman/listinfo/dbmail > >> > >>_________________________________________________________________ > >>MSN 8 with e-mail virus protection service: 2 months FREE* > >>http://join.msn.com/?page=features/virus > >> > >>_______________________________________________ > >>Dbmail mailing list > >>[email protected] > >>https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > >_________________________________________________________________ > >MSN 8 with e-mail virus protection service: 2 months FREE* > >http://join.msn.com/?page=features/virus > > > >_______________________________________________ > >Dbmail mailing list > >[email protected] > >https://mailman.fastxs.nl/mailman/listinfo/dbmail > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail >
