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

Re: Linker Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "isaac flemmin" <isaac(at)knox(dot)net>
Cc: "'Tim Barnard'" <tbarnard(at)povn(dot)com>,pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Linker Problems
Date: 2002-06-04 23:32:43
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
"isaac flemmin" <isaac(at)knox(dot)net> writes:
> Yes I did double check that line in and it is okay. I even
> ran ldconfig -p to check the file and see if the actual
> files from the directory were in the cache and they were. So I am rather
> confused as to why it will not link unless I specifically use -L to show
> the path.

AFAIR, only affects the behavior of the dynamic loader.
You *also* need to persuade the compiler/linker to find the library
during link.

I believe gcc's default link search path can be configured if you're
willing to futz with its config file, but it might be a lot easier
just to drop the library in one of the standard places, eg,

			regards, tom lane

In response to

pgsql-interfaces by date

Next:From: Andreas KretzerDate: 2002-06-05 06:03:15
Subject: Re: lo_import problem under Windows+BCB5
Previous:From: isaac flemminDate: 2002-06-04 22:15:34
Subject: Re: Linker Problems

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