• 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
Problems linking against my own libs..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems linking against my own libs..


  • Subject: Problems linking against my own libs..
  • From: Peter Groen <email@hidden>
  • Date: Fri, 4 Jan 2008 01:52:17 +0100

Hi Guys / Gals

I've been programming for almost 20 years now and was under the impression I understood what I was doing. Until I bought a MacBook... :)

I'm trying to build an application with Qt and XCode based entirely on shared libraries. All the dependencies installed the "usual way" are resolved, but not the libs I build myself. I can't figure out why. Under Linux I had something called a "linker cache" (ldconfig) where I can register my own paths to my home-build libraries. I noticed the absence of this feature. From what I understand from the documentation there are predefined directories where shared-libs should be installed, but I would like to add my own build-path to that. How can I do that?

I have a setup like :

<project>
   |
    --build
   |   |
   |    --lib
    --src

I'm building from source and i would like to link against a new lib inside the build->ib directory that was build previously to my current lib i'm building. And then ld barfs: ld:symbol(s) not found.

I'm stuck. Is there an answer or do I have to put my fresh libs in the /usr/lib directory?

Kind Regards,

Peter M. Groen
Open Systems Development
Klipperwerf 12
2317 DZ  Leiden
Tel   : +31-(0)71-5216317
Mobile: +31-(0)6-29563390
Email : email@hidden
Skype : peter_m_groen

_______________________________________________
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 against my own libs..
      • From: Andrew Pontious <email@hidden>
  • Prev by Date: build problems with multiple targets
  • Next by Date: Re: Problems linking against my own libs..
  • Previous by thread: Re: build problems with multiple targets
  • Next by thread: Re: Problems linking against my own libs..
  • Index(es):
    • Date
    • Thread