[odb-users] odb 2.3.0 runtime error symbol not found on Mac OS X
sebastian at minifarm.ro
Fri Jan 30 06:35:19 EST 2015
Thank you very much! It seems you were right. Libcutl was being built using clang/libc++ and odb using gcc/libstdc++.
My brew formulas were actually based on Adnan Rihan’s formulas for libcult and odb but I wanted to write formulas for all the available odb packages. It seems I missed the point where libcutl should have been built using the same standard library as odb since odb links against it.
Thanks to Adnan as well!
Administrator baze de date
S.C. Mini-Farm S.R.L.
On 30 Jan 2015, at 12:08, Boris Kolpackov <boris at codesynthesis.com<mailto:boris at codesynthesis.com>> wrote:
Paul-Sebastian Manole <sebastian at minifarm.ro<mailto:sebastian at minifarm.ro>> writes:
I’m using OS X Yosemite which might be the cause of this problem
You would be surprised how many emails I've got in the past couple
months that start with a sentence like that...
cc1plus: error: cannot load plugin /usr/local/bin/../lib/odb/odb.so
dlopen(/usr/local/bin/../lib/odb/odb.so, 10): Symbol not found:
This symbol is from the libcutl library on which the ODB compiler
depends. My guess would be that this library is built with a
different C++ runtime library (you can verify this with otool -L).
Also, Adnan Rihan has also created a Homebrew package for the ODB
compiler. His seems to work:
More information about the odb-users