> The libg2c dependency issues seem to have crept back in for 2015B and 2016A.
>
> From my student working through the SCUBA-2 DR tutorial:
>
> I?m getting this error message when I type "oracdr -loop file -files my list?:
>
> Can't load
> '/star/Perl/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/NDF/NDF.so' for module NDF:
> libg2c.so.0: cannot open shared object file: No such file or directory
> at /star/Perl/lib/perl5/5.18.2/x86_64-linux/DynaLoader.pm line 190.
> [...]
Hello,
I don't see a reference to libg2c from the Perl NDF.so in the
Starlink 2015B or 2016A releases. (Please see the ldd output below.)
Is "/star" the location where 2015B and 2016A were installed? If not,
then perhaps an old version of Perl is being loaded from there instead.
If this was the correct location, please could you check the NDF.so file
for the version of Starlink you are using with ldd or readelf?
For example:
readelf -d /star/Perl/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/NDF/NDF.so
Should say:
0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.3]
0x000000000000000f (RPATH) Library rpath: [/star-2016A/lib]
And not:
0x0000000000000001 (NEEDED) Shared library: [libg2c.so.0]
0x000000000000000f (RPATH) Library rpath: <something else>
Best regards,
Graham
$ ldd star-2015B/Perl/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/NDF/NDF.so
linux-vdso.so.1 => (0x00007ffe889de000)
libndg.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libndg.so.0 (0x00007fa31e1d2000)
libndf.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libndf.so.0 (0x00007fa31cf5e000)
libary.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libary.so.0 (0x00007fa31c7c3000)
libprm.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libprm.so.0 (0x00007fa31c598000)
libprm_a.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libprm_a.so.0 (0x00007fa31c396000)
libast_ems.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_ems.so.0 (0x00007fa31c195000)
libatl.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libatl.so.0 (0x00007fa31bf76000)
libsla.so.7 => /export/data2/gbell/scratch51/star-2015B/lib/libsla.so.7 (0x00007fa31bd2b000)
libgrp.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libgrp.so.0 (0x00007fa31bac6000)
libast.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast.so.0 (0x00007fa31b333000)
libast_pal.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_pal.so.0 (0x00007fa31b0d5000)
libast_grf_2.0.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_grf_2.0.so.0 (0x00007fa31aed4000)
libast_grf_3.2.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_grf_3.2.so.0 (0x00007fa31acd3000)
libast_grf_5.6.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_grf_5.6.so.0 (0x00007fa31aad1000)
libast_grf3d.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_grf3d.so.0 (0x00007fa31a8d0000)
libast_err.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libast_err.so.0 (0x00007fa31a6cf000)
libm.so.6 => /lib64/libm.so.6 (0x00007fa31a409000)
liberr_standalone.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/liberr_standalone.so.0 (0x00007fa31a1ff000)
libpsx.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libpsx.so.0 (0x00007fa319ffa000)
libhdsf.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libhdsf.so.0 (0x00007fa319dd4000)
libchr.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libchr.so.0 (0x00007fa319bc9000)
libhds.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libhds.so.0 (0x00007fa319996000)
libone.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libone.so.0 (0x00007fa319791000)
libemsf.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libemsf.so.0 (0x00007fa31958d000)
libems.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libems.so.0 (0x00007fa31937c000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa31915e000)
libcnf.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libcnf.so.0 (0x00007fa318f5b000)
libstarmem.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libstarmem.so.0 (0x00007fa318d55000)
libstarutil.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libstarutil.so.0 (0x00007fa318b53000)
libcnfrtl.so.0 => /export/data2/gbell/scratch51/star-2015B/lib/libcnfrtl.so.0 (0x00007fa318952000)
libgfortran.so.3 => /usr/lib64/libgfortran.so.3 (0x00007fa318660000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa3182cb000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa3180b5000)
/lib64/ld-linux-x86-64.so.2 (0x00000039ce400000)
$ ldd star-2016A/Perl/lib/perl5/site_perl/5.18.2/x86_64-linux/auto/NDF/NDF.so
linux-vdso.so.1 => (0x00007ffe00dfd000)
libndg.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libndg.so.0 (0x00007fbe4ec1c000)
libndf.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libndf.so.0 (0x00007fbe4d9a8000)
libary.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libary.so.0 (0x00007fbe4d20d000)
libprm.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libprm.so.0 (0x00007fbe4cfe2000)
libprm_a.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libprm_a.so.0 (0x00007fbe4cde0000)
libast_ems.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_ems.so.0 (0x00007fbe4cbdf000)
libatl.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libatl.so.0 (0x00007fbe4c9c0000)
libsla.so.7 => /export/data2/gbell/scratch51/star-2016A/lib/libsla.so.7 (0x00007fbe4c775000)
libgrp.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libgrp.so.0 (0x00007fbe4c510000)
libast.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast.so.0 (0x00007fbe4bd78000)
libast_pal.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_pal.so.0 (0x00007fbe4bb1a000)
libast_grf_2.0.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_grf_2.0.so.0 (0x00007fbe4b919000)
libast_grf_3.2.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_grf_3.2.so.0 (0x00007fbe4b718000)
libast_grf_5.6.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_grf_5.6.so.0 (0x00007fbe4b516000)
libast_grf3d.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_grf3d.so.0 (0x00007fbe4b315000)
libast_err.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libast_err.so.0 (0x00007fbe4b114000)
libm.so.6 => /lib64/libm.so.6 (0x00007fbe4ae4e000)
liberr_standalone.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/liberr_standalone.so.0 (0x00007fbe4ac44000)
libpsx.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libpsx.so.0 (0x00007fbe4aa3f000)
libhdsf.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libhdsf.so.0 (0x00007fbe4a819000)
libchr.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libchr.so.0 (0x00007fbe4a60e000)
libhds.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libhds.so.0 (0x00007fbe4a3db000)
libone.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libone.so.0 (0x00007fbe4a1d6000)
libemsf.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libemsf.so.0 (0x00007fbe49fd2000)
libems.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libems.so.0 (0x00007fbe49dc1000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbe49ba3000)
libcnf.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libcnf.so.0 (0x00007fbe499a0000)
libstarmem.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libstarmem.so.0 (0x00007fbe4979a000)
libstarutil.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libstarutil.so.0 (0x00007fbe49598000)
libcnfrtl.so.0 => /export/data2/gbell/scratch51/star-2016A/lib/libcnfrtl.so.0 (0x00007fbe49397000)
libgfortran.so.3 => /usr/lib64/libgfortran.so.3 (0x00007fbe490a5000)
libc.so.6 => /lib64/libc.so.6 (0x00007fbe48d10000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbe48afa000)
/lib64/ld-linux-x86-64.so.2 (0x00000039ce400000)
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|