pkgsrc-Users archive

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

rpath error in cython libraries




Hoping someone has run into this problem before and knows something that
I'm overlooking.  If not, I'll figure it out eventually.  Not urgent...

I'm not sure what "$ORIGIN" is here, but output from the FreeBSD port
(from which this package was derived) is basically identical and it
doesn't have any such issues.  If I disable PKG_DEVELOPER in mk.conf,
pysam installs cleanly, but client programs also report problems finding
these libraries.

All of this info is in wip/py-pysam/TODO.

Same errors on NetBSD and Alma8:

cc -shared -L. -Wl,-zrelro -Wl,-znow -L/usr/lib -Wl,-R/usr/lib
-L/home/bacon/Pkgsrc/pkg/lib -Wl,-R/home/bacon/Pkgsrc/pkg/lib
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -Wl,-znow -L/usr/lib
-Wl,-R/usr/lib -L/home/bacon/Pkgsrc/pkg/lib
-Wl,-R/home/bacon/Pkgsrc/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
-Wl,-zrelro -Wl,-znow -L/usr/lib -Wl,-R/usr/lib
-L/home/bacon/Pkgsrc/pkg/lib -Wl,-R/home/bacon/Pkgsrc/pkg/lib -O2 -fPIC
-D_FORTIFY_SOURCE=2 -I/usr/include
-I/home/bacon/Pkgsrc/pkg/include/python3.10
-I/home/bacon/Pkgsrc/pkg/include -I/usr/include
-I/home/bacon/Pkgsrc/pkg/include/python3.10
-I/home/bacon/Pkgsrc/pkg/include
build/temp.netbsd-9.3-amd64-cpython-310/pysam/libcsamfile.o
-L/home/bacon/Pkgsrc/pkgsrc/wip/py-pysam/work/pysam-0.21.0/pysam
-L/home/bacon/Pkgsrc/pkg/lib
-Lbuild/lib.netbsd-9.3-amd64-cpython-310/pysam
-Lbuild/lib.netbsd-9.3-amd64-cpython-310/pysam
-Lbuild/lib.netbsd-9.3-amd64-cpython-310/pysam
-Lbuild/lib.netbsd-9.3-amd64-cpython-310/pysam
-Lbuild/lib.netbsd-9.3-amd64-cpython-310/pysam
-Lbuild/lib.netbsd-9.3-amd64-cpython-310/pysam
-L/home/bacon/Pkgsrc/pkg/lib -lz -lhts -lchtslib -lcutils -o
build/lib.netbsd-9.3-amd64-cpython-310/pysam/libcsamfile.so
-Wl,-rpath,$ORIGIN
ld: warning: libcsamtools.so, needed by
build/lib.netbsd-9.3-amd64-cpython-310/pysam/libcutils.so, not found
(try using -rpath or -rpath-link)
ld: warning: libcbcftools.so, needed by
build/lib.netbsd-9.3-amd64-cpython-310/pysam/libcutils.so, not found
(try using -rpath or -rpath-link)

# => Checking for missing run-time search paths in py310-pysam-0.21.0
# ERROR: lib/python3.10/site-packages/pysam/libcalignedsegment.so:
missing library: libchtslib.so

NetBSD netbsd9.acadix  bacon ~/Pkgsrc/pkgsrc/wip/py-pysam 1004:
(pkgsrc): find work/ -name libcsamtools.so
work/pysam-0.21.0/build/lib.netbsd-9.3-amd64-cpython-310/pysam/libcsamtools.so
work/.destdir/home/bacon/Pkgsrc/pkg/lib/python3.10/site-packages/pysam/libcsamtools.so

NetBSD netbsd9.acadix  bacon ~/Pkgsrc/pkgsrc/wip/py-pysam 1006:
(pkgsrc): find work/ -name libchtslib.so
work/pysam-0.21.0/build/lib.netbsd-9.3-amd64-cpython-310/pysam/libchtslib.so
work/.destdir/home/bacon/Pkgsrc/pkg/lib/python3.10/site-packages/pysam/libchtslib.so


Home | Main Index | Thread Index | Old Index