• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dynamic linking external libs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic linking external libs


  • Subject: Re: Dynamic linking external libs
  • From: "MSP Kyle" <email@hidden>
  • Date: Tue, 17 Apr 2007 10:06:42 -0400

Also, note that I've got /opt/local/lib in my library search paths, which does not solve the problem.

-k

On 4/17/07, MSP Kyle < email@hidden> wrote:
Hi,

I've read a number of entries regarding (what I believe) to be an issue that Xcode has with dynamic libraries in custom locations.  What I'm attempting to do is simple.

I've downloaded a set of libraries via DarwinPorts into /opt/local, and would like my Xcode project to link to the libraries found in /opt/local/lib. The warning I get from the compiler turns out to be the cause of a real problem:

Ld ::
...
 -mmacosx-version-min=10.4 -lguile -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libguile-ltdl.1.dylib referenced from: /opt/local/lib/libguile.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)

/Developer/SDKs/MacOSX10.4u.sdk is being prepended to the reference found in /opt/local/lib/libguile.dylib. Is there a straightforward way to get around this?

I've read of solutions involving install_name_tool, but haven't been able to wrap my head around how that would solve this problem.

Can anyone nudge me in the direction of a solution?

Thanks.

-k



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Dynamic linking external libs (From: "MSP Kyle" <email@hidden>)

  • Prev by Date: XCode for Panther
  • Next by Date: Re: XCode for Panther
  • Previous by thread: Dynamic linking external libs
  • Next by thread: Re: Dynamic linking external libs
  • Index(es):
    • Date
    • Thread