• 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: problems linking with dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems linking with dylib


  • Subject: Re: problems linking with dylib
  • From: james tittle <email@hidden>
  • Date: Fri, 1 Jul 2005 10:06:29 -0400

On Jul 1, 2005, at 4:12 AM, Kaveh Kardan wrote:

I have a library:

/usr/local/lib/gauche/0.8.4/powerpc-apple-darwin7.8.0/libgauche.dylib

which I drag into the External Frameworks and Libraries of XCode, but when building, I get the following error:

Libtool /Users/kaveh/Development/bronze/build/libbronze.a
cd /Users/kaveh/Development/bronze
/usr/bin/libtool -static -o /Users/kaveh/Development/bronze/ build/libbronze.a -L/Users/kaveh/Development/bronze/build -L/usr/ lib/gcc/darwin/3.3 -L/usr/local/lib/gauche/0.8.4/powerpc-apple- darwin7.8.0 /usr/lib/libstdc++.a -framework OpenGL -framework QuickTime -framework GLUT -framework CoreServices -framework OpenAL -framework Foundation gauche -framework Carbon -filelist /Users/ kaveh/Development/bronze/build/bronze.build/bronzelib.build/Objects- normal/bronze.LinkFileList
/usr/bin/libtool: can't open file: gauche (No such file or directory)

...there seems to be a typo: you simply have "...-framework Foundation gauche...", so libtool can't figure out what gauche is...so, just change it to "-lgauche" if it's in your path...


jamie
_______________________________________________
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


  • Follow-Ups:
    • Re: problems linking with dylib
      • From: Kaveh Kardan <email@hidden>
References: 
 >problems linking with dylib (From: Kaveh Kardan <email@hidden>)

  • Prev by Date: Re: large memory malloc
  • Next by Date: Re: Don't understand this compiler warning
  • Previous by thread: problems linking with dylib
  • Next by thread: Re: problems linking with dylib
  • Index(es):
    • Date
    • Thread