Skip site navigation (1) Skip section navigation (2)

Re: Linker Problems

From: "Tim Barnard" <tbarnard(at)povn(dot)com>
To: "isaac flemmin" <isaac(at)knox(dot)net>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Linker Problems
Date: 2002-06-04 20:26:39
Message-ID: 00f501c20c06$2263d420$ (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I would closely look at that entry in There may be leading or
trailing spaces or some minor mispelling that's somehow throwing it off.
Once I added the path to I no longer had to specify the -L path,
so to my mind there must be something wrong with the line in the conf file.


----- Original Message -----
From: "isaac flemmin" <isaac(at)knox(dot)net>
To: <pgsql-interfaces(at)postgresql(dot)org>
Sent: Tuesday, June 04, 2002 1:17 PM
Subject: Linker Problems

> Hello,
> This is only a small annoyance but I figured I would ask to see if
> anyone out there has any clues on how to fix it.
> I am using Linux Red Hat 7.1 with kernel 2.4.9-31. I have glibc
> 2.2.4-24, ld 2.10.91, gcc 2.96, and Postgres 7.2.
> My problem is when I am compiling programs I have written using lpq I
> have to give my compiler -L/<dir to libpq> even though it is in my
> file and I have run ldconfig. I even checked to make sure
> that ldconfig was seeing those libraries by running ldconfig -p to print
> out the cache and see if the libraries were listed there and they were.
> I am not sure why ld is not seeing the libraries unless I specifically
> tell it to search the path where the libraries are, and it is not that
> hard to type in -L/<some dir> but it is slightly annoying that it does
> not work correctly.
> So if there is anyone out there who may have some clues about which
> direction to start looking for the solution in, it would be greatly
> appreciated.
> Thanks
> Isaac
> --
> P.S. Somehow it seems like I ended up sending this message to the wrong
> mailing list the first time, so if for some reason this is the second
> time I have sent this message, please disregard it and accept my
> apologies for causing extra mail.
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to


pgsql-interfaces by date

Next:From: isaac flemminDate: 2002-06-04 22:15:34
Subject: Re: Linker Problems
Previous:From: isaac flemminDate: 2002-06-04 20:17:35
Subject: Linker Problems

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group