bugGNU Astronomy Utilities - Bugs: bug #58687, program linking error with the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #58687: program linking error with the shared libraries

Submitter:  Sachin Kumar Singh <sks_15>
Submitted:  Wed 01 Jul 2020 10:04:25 PM UTC
   
 
Category:  Installation Severity:  3 - Normal
Item Group:  Crash Status:  In Progress
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Open

Mon 01 Feb 2021 10:49:43 AM UTC, comment #1: 

A fix to this problem has been implemented in Commit ffe22747f66.

Sachin, can you please try pulling the most recent commits in Gnuastro and bootstrapping again (without any extra configure-time linking options)?

If it does indeed work-out, can you please just confirm here and close the bug also?

Mohammad Akhlaghi <makhlaghi>
Group administrator
Wed 01 Jul 2020 10:04:25 PM UTC, original submission:  

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


Sachin Kumar Singh <sks_15>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by sks_15 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-01 makhlaghi StatusPostponed In Progress
        Assigned toNone makhlaghi

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code