[postgis-users] libiconv problem
Dave Potts
dave.potts at pinan.co.uk
Sat Sep 8 11:01:10 PDT 2007
Dave Potts wrote:
> Jeff Stubbs wrote:
>> Hi,
>>
>> I'm working within the MacPorts system on OS X. The portfile for
>> postgis is currently at version 1.2.1, and I'm trying to update it to
>> the latest (1.3.1). PostGIS builds and installs but is linking to the
>> libiconv library in /usr/lib, instead of the libiconv port in
>> /opt/local/lib. The MacPorts system tries to be self contained with
>> it's dependencies, so I have been trying to tweak the install to rely
>> on the MP install of libiconv. PostGIS recognizes that proj, geos,
>> and postgresql are installed in the /opt/local directories.
>>
>> I saw a thread from December-2005 that another user was having a
>> similar problem with a Debian system, and I've been cautiously trying
>> the suggestions to workaround the issues, but with no luck. I'm a
>> relative nu-bee with modifying makefiles, so, no doubt, I'm missing
>> something blindingly obvious. Can a more experienced user or
>> developer, throw some light on the issue for me?
>>
>> Thanks for your time,
>>
>> Jeff
>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
> Hi Jeff
>
> Check out redo_prebinding or have a look at some off the envronment
> options listed under dyld( man dyld for details)
>
>
> redo_prebinding allows to changes the settings for a binary program,
> the settings for dyld effect where a given program looks for files.
>
>
> Dave.
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
Another though, if you want to know which library a program uses, use
otool -L
If you want to know what files a program is using, run it under ktrace
and kdump, these program wil list any system calls your program makes,
eg opening a file(library, data etc)
Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave.potts.vcf
Type: text/x-vcard
Size: 85 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070908/513b2e64/attachment.vcf>
More information about the postgis-users
mailing list