gnuastro-devel
[Top][All Lists]
Advanced

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

[bug #57891] make fails after successfully bootstrapping and configuring


From: Mohammad Akhlaghi
Subject: [bug #57891] make fails after successfully bootstrapping and configuring
Date: Tue, 25 Feb 2020 17:11:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

Follow-up Comment #3, bug #57891 (project gnuastro):

This is good, thanks ;-)! This is the main error line:


/usr/bin/ld: /usr/local/lib/libgsl.so.25: error adding symbols: DSO missing
from command line


The GSL library can't be linked with in building the Convolve program. For
some reason, the exact libraries that it links with isn't printed on your
system. What is your OS by the way? 

For example on my computer, the command to link the Convolve program looks
like this:


libtool: link: gcc -Wall -O3 -pthread -o .libs/astconvolve main.o ui.o
convolve.o  -L../../lib ../../bootstrapped/lib/.libs/libgnu.a
/dev/shm/source-0.11.26-288d/lib/.libs/libgnuastro.so -L/usr/local/lib -lgit2
-ltiff -llzma -ljpeg -lwcs -lcfitsio -lcurl -lz /usr/local/lib/libgsl.so
/usr/local/lib/libgslcblas.so -lm -lc -pthread -Wl,-rpath -Wl,/usr/local/lib


But on your system, it looks like this


libtool: link: gcc -Wall -O3 -pthread -o .libs/astconvolve main.o ui.o
convolve.o  -L../../lib ../../bootstrapped/lib/.libs/libgnu.a
/home/amcap1712/gnuastro/lib/.libs/libgnuastro.so -lpthread -pthread


However, it has successfully found the need for linking with GSL from the
first line quoted above. Probably the problem is in the ordering on your
system.

This should be visible in the `libgnuastro.la' file. You can find it in the
`lib/' directory. Can you send value of the `dependency_lib' variable in that
file? 

You should also see the list of libraries in the top-level `Makefile'. Can you
post the value of `CONFIG_LDADD' in there?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57891>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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