[redland-dev] [Raptor RDF Syntax Library 0000646]: libraptor loads to many other shared libraries

Mantis Bug Tracker mantis-bug-sender at librdf.org
Tue Jan 15 19:32:20 EST 2019


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=646 
====================================================================== 
Reported By:                porton
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   646
Category:                   api
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2019-01-16 00:32
Last Modified:              2019-01-16 00:32
====================================================================== 
Summary:                    libraptor loads to many other shared libraries
Description: 
As demonstrated below, libraptor2 loads too many other shared libraries. I
suspect it is the reason why my test application (rdf_dlang test of my ongoing D
bindings for librdf) loads relatively slowly (about 0.02 secs on my recent i5
PC).

Some libraries are totally out-of-place: What does libstdc++.so.6 do here? What
does libxslt.so.1? maybe others too?

Maybe some libraries (such as libcurl-gnutls.so.4) should be loaded dynamically
(only when necessary).

$ ldd /usr/lib/x86_64-linux-gnu/libraptor2.so.0
	linux-vdso.so.1 (0x00007ffc7117a000)
	libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
(0x00007faab557a000)
	libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007faab533d000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007faab5195000)
	libyajl.so.2 => /usr/lib/x86_64-linux-gnu/libyajl.so.2 (0x00007faab4f8b000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007faab4f6a000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faab4d80000)
	libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14
(0x00007faab4d57000)
	libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007faab4d38000)
	librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007faab4b1c000)
	libpsl.so.5 => /usr/lib/x86_64-linux-gnu/libpsl.so.5 (0x00007faab490c000)
	libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007faab46d6000)
	libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30
(0x00007faab453a000)
	libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
(0x00007faab44eb000)
	libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
(0x00007faab4497000)
	liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
(0x00007faab4486000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007faab4269000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faab40dc000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007faab40d6000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007faab3d1d000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007faab3af7000)
	/lib64/ld-linux-x86-64.so.2 (0x00007faab5885000)
	libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2
(0x00007faab3977000)
	libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4
(0x00007faab3743000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007faab34c2000)
	libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007faab3391000)
	libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007faab317e000)
	libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007faab30a5000)
	libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
(0x00007faab3071000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007faab306b000)
	libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
(0x00007faab305d000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007faab3040000)
	libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007faab2e25000)
	libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007faab2be4000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60
(0x00007faab103b000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faab0eb1000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faab0e97000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007faab0c8d000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007faab0c87000)
	libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
(0x00007faab0a7e000)
	libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007faab07f1000)
	libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8 (0x00007faab054f000)
	libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
(0x00007faab0317000)
	libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18 (0x00007faab0101000)
	libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0 (0x00007faaafed8000)
	libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1
(0x00007faaafcc9000)
	libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5 (0x00007faaafa7f000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007faaaf76f000)
	libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007faaaf735000)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2019-01-16 00:32 porton         New Issue                                    
======================================================================



More information about the redland-dev mailing list