Thread: Trouble linking with libpq
Hi, I've tried for about two days now and I'm just not seeing whats wrong. I used standard installation so the lib directory is /usr/local/pgsql/lib and I'm using -llibpq, but for some odd reason, the linker is not seeing libpq. Can someone point out where I'm going wrong? If you need more info, I can post a clipped version of the makefile, but this happens when doing command-line as well.
Did you include a -L option in the linker call that pointed to the library? In my case I use -L/usr/local/pgsql/lib Tim ----- Original Message ----- From: "Robert J. Sprawls" <rsprawls@telocity.com> To: <pgsql-interfaces@postgresql.org> Sent: Friday, October 05, 2001 9:57 PM Subject: Trouble linking with libpq > Hi, > I've tried for about two days now and I'm just not seeing whats wrong. I > used standard installation so the lib directory is /usr/local/pgsql/lib and > I'm using -llibpq, but for some odd reason, the linker is not seeing libpq. > Can someone point out where I'm going wrong? If you need more info, I can > post a clipped version of the makefile, but this happens when doing > command-line as well. > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html >