Boost logo

Boost Users :

Subject: Re: [Boost-users] App will not run when linked to boost thread library
From: kittymaguire (katherine_maguire_at_[hidden])
Date: 2008-09-23 02:30:33


The application is based on xul, so running from the command line give no
error messages, also tried the console, but again no error messages.

But yesterday I found the problem, our xul uses a wrapper to give the
parameters to xulrunner and if I placed the dylibs in the folder of the
wrapper then the application will start.

Is there a way to build the boost libraries and specific their location, as
it would be better if the boost libraries where in the same folder as the
xulrunner dylibs.

I am using bjam to build boost.

David Philp wrote:
>
>
> On 22/09/2008, at 5:44 PM, kittymaguire wrote:
>
>>
>> Hi
>>
>> I used otool to get the following dependencies
>
> ... snip
>
>>
>> I assume that because no path is given, that the boost lib should go
>> in the
>> same folder as the libHOMEServices.dylib, but placing it in that
>> folder the
>> application still does not start.
>
> I don't know about that. The loader will have to be able to find it
> one way or another.
>
> Can you run the application from the command line, and describe the
> error message (if any). If the problem is that the loader can't find
> the libraries, you will see a useful message. Otherwise you are
> probably barking up the wrong tree with otool.
>
> Also you might have a look in the logs---start up Console.app and look
> in system.log.
>
>> If I do not link with the boost libraries, then the application
>> starts.
>
>
> Are you using bjam? I think that's the problem.
>
> D
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>

-- 
View this message in context: http://www.nabble.com/App-will-not-run-when-linked-to-boost-thread-library-tp19552427p19622043.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net