Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#113 closed defect (fixed)

Duchamp: error while loading shared libraries: libwcs.so.4.7

Reported by: Arfon Smith Owned by: MatthewWhiting
Priority: normal Milestone:
Component: Building/Installation Version: 1.1.10
Severity: blocker Keywords:
Cc:

Description

Hi there

I have successfully installed cfitsio and wcslib and have compiled and installed Duchamp also.

Unfortunately when I run './VerifyDuchamp?.sh' I get the error:

./Duchamp-1.1.10: error while loading shared libraries: libwcs.so.4.7: cannot open shared object file: No such file or directory

I've installed both cfitsio and wcslib in /usr/local and doing a 'find -name libwcs.so.4.7' in / returns:

./usr/local/lib/libwcs.so.4.7 ./usr/local/lib64/libwcs.so.4.7

Do you have any pointers as to what might be going wrong? I'm using Centos 5.5

Cheers Arfon

Change History (7)

comment:1 in reply to:  description Changed 13 years ago by Arfon Smith

Replying to Arfon Smith:

Hi there

I have successfully installed cfitsio and wcslib and have compiled and installed Duchamp also.

Unfortunately when I run './VerifyDuchamp?.sh' I get the error:

./Duchamp-1.1.10: error while loading shared libraries: libwcs.so.4.7: cannot open shared object file: No such file or directory

I've installed both cfitsio and wcslib in /usr/local and doing a 'find -name libwcs.so.4.7' in / returns:

./usr/local/lib/libwcs.so.4.7 ./usr/local/lib64/libwcs.so.4.7

Do you have any pointers as to what might be going wrong? I'm using Centos 5.5

Cheers Arfon

Just adding my email: arfon.smith@…

comment:2 Changed 13 years ago by Arfon Smith

Quick update - if I try and build using Ubuntu I get the same error. Is there an issue with WCSLIB 4.7?

comment:3 Changed 13 years ago by MatthewWhiting

Status: newassigned

Hi Arfon,

My suggestion would be that you look at your LD_LIBRARY_PATH environment variable - it is likely that /usr/local/lib does not appear there. If not, try appending it to the list and run Duchamp or the verification script again.

It certainly doesn't appear to be a problem with wcslib - I've tried 4.7 on a number of platforms without problems.

Also, ldd can be used to see the library locations that a given program uses (although in this case I suspect it'll fail on wcslib).

Sorry for the delay in getting back to you... Matt.

comment:4 in reply to:  3 Changed 13 years ago by Arfon Smith

Replying to MatthewWhiting:

Hi Arfon,

My suggestion would be that you look at your LD_LIBRARY_PATH environment variable - it is likely that /usr/local/lib does not appear there. If not, try appending it to the list and run Duchamp or the verification script again.

It certainly doesn't appear to be a problem with wcslib - I've tried 4.7 on a number of platforms without problems.

Also, ldd can be used to see the library locations that a given program uses (although in this case I suspect it'll fail on wcslib).

Sorry for the delay in getting back to you... Matt.

Awesome. Thanks that fixed it. Sorry for the dumb Q!

Cheers Arfon

comment:5 Changed 13 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

No worries - glad it works. And trust me, it wasn't that dumb a question - dealing with libraries can be a pain sometimes...

Thanks, Matt.

Note: See TracTickets for help on using tickets.