Port 5.0, missing dependencies and ldd

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Port 5.0, missing dependencies and ldd

Post#1 by Rava » 21 Aug 2022, 17:12

Prior to Port 5.0 x86-64 finale version, missing dependencies of a program could be figured out via ldd.

Seems that changed somehow with 5.0 finale?

Usuallly ldd lists all needed libraries of a program, but seems that is no longer the case.

It is about wread's inkskape: Inkscape 1.1.1 for Porteus 5.0 (Post by wread #87347)

Code: Select all

guest@porteus:~$ file /usr/bin/ldd
/usr/bin/ldd: Bourne-Again shell script, ASCII text executable
guest@porteus:~$ ldd /usr/bin/inkscape
guest@porteus:~$ echo $?
1
Could the reason be that ldd is a mere script?

man ldd says

Code: Select all

ldd - print shared object dependencies
And no, inkscape would not run, I did not load all dependencies wread uploaded (in the hopes I would not need each one cause XFCE already had at least one…)

Code: Select all

guest@porteus:~$ inkscape 
inkscape: error while loading shared libraries: libboost_filesystem.so.1.77.0: cannot open shared object file: No such file or directory
How does one now check for the dependencies when ldd no longer does the job?

Added in 19 minutes 5 seconds:
Update

After I loaded some dependencies ldd seems to do its job now…
Cheers!
Yours Rava