Re: Running fresh app on MacOSX
Re: Running fresh app on MacOSX
- Subject: Re: Running fresh app on MacOSX
- From: Peter Groen <email@hidden>
- Date: Sat, 5 Jan 2008 21:18:15 +0100
Hi Michael,
Thanx. I'll give it a try.
On 5 jan 2008, at 21:13, Michael Rice wrote:
On OS X, you can use DYLD_LIBRARY_PATH environment variable just as
you would use LD_LIBRARY_PATH on Linux.
On Jan 5, 2008, at 8:03 AM, Peter Groen wrote:
On 5 jan 2008, at 01:35, Peter Groen wrote:
Hi Trolls,
Quite new to programming with Qt on MacOSX and running into
troubles already.
I have an application build with plugins (shared libs) and I was
able to compile and link it. When I try to run the application,
I'm treated to the following message...
--[ Message ]--
qtimetrack.app/Contents/MacOS/qtimetrack
dyld: Library not loaded: liblog4cpp.1.dylib
Referenced from: /Users/pgroen/projects/qtimetrack/build/
qtimetrack.app/Contents/MacOS/qtimetrack
Reason: image not found
Trace/BPT trap
--[ /Message ]--
I have to tell the DESTDIR for my application is build and the
libs are one level below under lib.
I fiure it is normal under MacOSX to create a directory structure
for the application. I only wonder how I can tell my application
it has to look for the libs in a different place than expected
(Where ever that may be). Not really a Qt-question, I know, but it
is somewhat related.. (I hope)
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
--
To unsubscribe - send a mail to email@hidden
with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-
interest/
Kay.. Problems always get in my hair (If I had any :S ) so I tried
to copy all the libs into the directory where the
<applicationame>.app directory exist. And guess? It works.
But I still want to figure out if it is possible to use custom dirs
for home-baked directories. If I have the time, I'll try to do
something with LD_LIBRARY_PATH or something more BSD-like :)
Thanx for now.
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
--
To unsubscribe - send a mail to email@hidden
with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
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