Project

General

Profile

Porting #126

undefined reference symbol, but symbol is defined in DSO

lluvia - over 10 years ago - . Updated over 6 years ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

0%


Description

When, for example, building package gavl I obtain

/usr/bin/ld: volume_test.o:undefined reference symbol 'sinf@GLIBC_2.0'
/usr/bin/ld: note: 'sinf
@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation

History

#2

Updated by lluvia over 10 years ago

I solved something similar in the package openal adding this options to cmake

-D CMAKE_EXE_LINKER_FLAGS:STRING='-Wl,-rpath,/usr/lib -lavutil'\

Do you agree with a solution of this kind. I'd like having a solution documented in the wiki.

#3

Updated by lluvia over 10 years ago

I didn't notice there was a specific category for porting issues

#4

Updated by ovruni about 10 years ago

Solved using gavl-autoconf.patch

#5

Updated by Anonymous over 6 years ago

  • Project changed from 3 to Ports

Also available in: Atom PDF