bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libgsl.so is broken: it has unresolved symbols cblas_*


From: Yuri
Subject: Re: libgsl.so is broken: it has unresolved symbols cblas_*
Date: Mon, 16 Nov 2020 23:43:13 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 10/16/20 6:55 PM, Mark Galassi wrote:
There are 2 places that make it hard to miss that your linking needs to
have both -lgsl and -lgslcblas:


You need to link libgsl.so to libgslcblas.so


Even though `pkg-config --libs gsl` returns both libraries linkers can later remove the libgslcblas.so due to |-Wl,--as-needed that projects use. This is because they see that ||libgslcblas.so isn't used by the project itself.
|

|Having a library (libgsl.so) with unresolved symbols that are resolved in a companion library (||libgslcblas.so) is an error-prone situation for this reason.|

|
|

|Thanks,
|

|Yuri|

|
|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]