On 08/26/2010 12:08 AM, Paul McCullagh wrote:
> Hi David,
> 
> Thanks for your help.
> 
> In the meantime I have figured out (more or less) what the problem was.
> 
> The --with-libboost_thread-prefix,
> --without-libboost_program_options-prefix, etc. config parameters do not
> seem to work. As far as I can tell, this is because configure does not
> add the required paths to the compile parameters when testing for the
> presence of the boost libraries.

I yes - I think I remember someone saying something about this... this
is a bug (of course) and I should fix this. I will not get to it by
Friday, so it will be 2 weeks before I can fix it (unless someone else
gets to it in the mean time) ...

Sorry!

> So I hacked the paths to work, but this runs into problems at runtime.
> 
> The only thing that works (for me), is to copy all the boost libraries
> directly into /usr/local/lib, and place a link (or a copy) of the
> headers in /usr/local/include/boost.
> 
> On Aug 25, 2010, at 7:32 PM, David Shrewsbury wrote:
> 
>> Gah... forwarding my response to the list...
>>
>>
>> ---------- Forwarded message ----------
>> From: David Shrewsbury <[email protected]>
>> Date: Wed, Aug 25, 2010 at 1:30 PM
>> Subject: Re: [Drizzle-discuss] Problems loading
>> libboost_program_options.dylib
>> To: Paul McCullagh <[email protected]>
>>
>>
>> Hi Paul,
>>
>> I tried to reproduce this with 1730, but could not. But I am using 10.6,
>> not 10.5.8. We don't officially support 10.5 (Leopard) so that may be
>> the problem.
>>
>> Out of curiosity, what was your configure line?
>>
>> -Dave
>>
>>
>> On Wed, Aug 25, 2010 at 9:01 AM, Paul McCullagh
>> <[email protected]> wrote:
>>> Hi All,
>>>
>>> I have just built the latest version of Drizzle (revision 1730), and I
>>> having problems with drizzled not being able to load the boost
>>> libraries at
>>> runtime (Mac OS X 10.5.8).
>>>
>>> I get 2 errors. The first one I fixed, but I need some help on the
>>> second...
>>>
>>> (1) The first error:
>>>
>>> [pmc-2:~/Development/MySQL/drizzle-test] build% sbin/drizzled
>>> dyld: Library not loaded: libboost_program_options.dylib
>>>  Referenced from:
>>> /Users/build/Development/MySQL/drizzle-test/sbin/drizzled
>>>  Reason: image not found
>>> Trace/BPT trap
>>>
>>> Setting LD_LIBRARY_PATH did not help. Copying
>>> "libboost_program_options.dylib" and "libboost_thread.dylib" to
>>> ~/Development/MySQL/drizzle-test fixed this error.
>>>
>>> (2) The second error:
>>>
>>> [pmc-2:~/Development/MySQL/drizzle-test] build% sbin/drizzled
>>> Can't open shared library
>>> '/Users/build/Development/MySQL/drizzle-test/lib/drizzle/libarchive_plugin.dylib'
>>>
>>> (errno: 2
>>> dlopen(/Users/build/Development/MySQL/drizzle-test/lib/drizzle/libarchive_plugin.dylib,
>>>
>>> 10): Library not loaded: libboost_progra)Couldn't load plugin library
>>> named
>>> 'archive'.
>>> Failed to initialize plugins.Aborting
>>> sbin/drizzled: Shutdown complete
>>>
>>> Looks like libarchive_plugin is saying that libboost_program_options
>>> is not
>>> loaded. But it was loaded in order to get past the first error.
>>>
>>> Any suggestions would be welcome.
>>>
>>> Thanks,
>>>
>>> Paul
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~drizzle-discuss
>>> Post to     : [email protected]
>>> Unsubscribe : https://launchpad.net/~drizzle-discuss
>>> More help   : https://help.launchpad.net/ListHelp
>>>
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~drizzle-discuss
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~drizzle-discuss
> More help   : https://help.launchpad.net/ListHelp
> 


_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to