[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58687] program linking error with the shared libraries
From: |
Sachin Kumar Singh |
Subject: |
[bug #58687] program linking error with the shared libraries |
Date: |
Wed, 1 Jul 2020 18:04:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0 |
URL:
<https://savannah.gnu.org/bugs/?58687>
Summary: program linking error with the shared libraries
Project: GNU Astronomy Utilities
Submitted by: sks_15
Submitted on: Wed 01 Jul 2020 10:04:25 PM UTC
Category: Installation
Severity: 3 - Normal
Item Group: Crash
Status: Postponed
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When I bootstrapped and when I build without debugging(including shared
libraries) `gnuastro` build crashes as soon as it gets to the programs wit
this error message. The reason is that it is not adding the linking flags of
the libraries eg. -lgsl.
When I commented the COND_NORPATH in bin/convolve/Makefile.am it built
convolve successfully, but it had the same error with the next program that is
seen below.
When I build from the tarball this error doesn't happen.
libtool: link: gcc -Wall -O3 -pthread -o .libs/astcrop main.o ui.o crop.o
wcsmode.o onecrop.o -L../../lib ../../bootstrapped/lib/.libs/libgnu.a
/home/sachin/gsoc/gnuastro_dev/gnuastro/build/lib/.libs/libgnuastro.so
-lpthread -pthread
/usr/bin/ld: ui.o: undefined reference to symbol 'wcshdo'
/usr/local/lib/libwcs.so.7: error adding symbols: DSO missing from command
line
collect2: error: ld returned 1 exit status
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58687>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #58687] program linking error with the shared libraries,
Sachin Kumar Singh <=