[odb-users] Re: Build error on CentOS 6

Dave Johansen davejohansen at gmail.com
Tue Feb 19 00:17:41 EST 2013


On Mon, Feb 18, 2013 at 9:28 PM, Dave Johansen <davejohansen at gmail.com> wrote:
>
> I just tried building 2.2 on CentOS 6 and I get the following error:
> libtool: link: /opt/centos/devtoolset-1.1/root/usr/bin/g++ -g -O2 -o .libs/odb odb-odb.o odb-option-types.o odb-option-functions.o odb-profile.o semantics/relational/odb-name.o odb-options.o  -L/home/dlj/projects/odb_2.2/odb-2.2.0/../libcutl-1.7.1/cutl /home/dlj/projects/odb_2.2/odb-2.2.0/../libcutl-1.7.1/cutl/.libs/libcutl.so -Wl,-rpath -Wl,/usr/local/lib
> /usr/bin/ld: .libs/odb: undefined reference to symbol 'pthread_cancel@@GLIBC_2.0'
> /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
> /lib/libpthread.so.0: could not read symbols: Invalid operation
>
> Please let me know if there's anything else I can do to try and diagnose the problem.
>
> Dave


It actually looks like the issue is with libcutl 1.7.1 because I just
tried building odb 2.1.1 with libcutl 1.7.1 and it gave me the same
error but built just fine with libcutl 1.7.0.



More information about the odb-users mailing list