LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2019, 11:55 PM   #1
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
slackrepo oddity


In any most (see below) slackrepo (wonderful tool, BTW!) build that pulls in graphviz on my Slackware64 14.2 build box, I get the following...

Code:
graphviz-2.40.1-x86_64-3_SBo: Graph Visualization ...................... [18M] 
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_gd.so.6" - file not found
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_gdk.so.6" - file not found
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_gs.so.6" - file not found
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_gtk.so.6" - file not found
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_pango.so.6" - file not found
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_rsvg.so.6" - file not found
Warning: Could not load "/usr/lib64/graphviz/libgvplugin_xlib.so.6" - file not found
/bin/bash: line 177: 10067 Segmentation fault      chroot . /usr/bin/dot -c
When I look in the overlay, I see those libraries...

Code:
root@testbed:/tmp/slackrepo.RLjKEz/chrootdir# ls -l usr/lib64/graphviz/ 
total 1160
-rw-r--r-- 1 root root      0 Apr  5 23:38 config6
drwxr-xr-x 2 root root     48 Mar 31 20:09 guile/
-rwxr-xr-x 1 root root   1152 Mar 31 20:09 libgvplugin_core.la*
lrwxrwxrwx 1 root root     25 Apr  5 23:38 libgvplugin_core.so -> libgvplugin_core.so.6.0.0*
lrwxrwxrwx 1 root root     25 Apr  5 23:38 libgvplugin_core.so.6 -> libgvplugin_core.so.6.0.0*
-rwxr-xr-x 1 root root 140128 Mar 31 20:09 libgvplugin_core.so.6.0.0*
-rwxr-xr-x 1 root root   1188 Mar 31 20:09 libgvplugin_dot_layout.la*
lrwxrwxrwx 1 root root     31 Apr  5 23:38 libgvplugin_dot_layout.so -> libgvplugin_dot_layout.so.6.0.0*
lrwxrwxrwx 1 root root     31 Apr  5 23:38 libgvplugin_dot_layout.so.6 -> libgvplugin_dot_layout.so.6.0.0*
-rwxr-xr-x 1 root root 159456 Mar 31 20:09 libgvplugin_dot_layout.so.6.0.0*
-rwxr-xr-x 1 root root   2310 Mar 31 20:09 libgvplugin_gd.la*
lrwxrwxrwx 1 root root     23 Apr  5 23:38 libgvplugin_gd.so -> libgvplugin_gd.so.6.0.0*
lrwxrwxrwx 1 root root     23 Apr  5 23:38 libgvplugin_gd.so.6 -> libgvplugin_gd.so.6.0.0*
-rwxr-xr-x 1 root root  47072 Mar 31 20:09 libgvplugin_gd.so.6.0.0*
-rwxr-xr-x 1 root root   2333 Mar 31 20:09 libgvplugin_gdk.la*
lrwxrwxrwx 1 root root     24 Apr  5 23:38 libgvplugin_gdk.so -> libgvplugin_gdk.so.6.0.0*
lrwxrwxrwx 1 root root     24 Apr  5 23:38 libgvplugin_gdk.so.6 -> libgvplugin_gdk.so.6.0.0*
-rwxr-xr-x 1 root root  11096 Mar 31 20:09 libgvplugin_gdk.so.6.0.0*
-rwxr-xr-x 1 root root   2208 Mar 31 20:09 libgvplugin_gs.la*
lrwxrwxrwx 1 root root     23 Apr  5 23:38 libgvplugin_gs.so -> libgvplugin_gs.so.6.0.0*
lrwxrwxrwx 1 root root     23 Apr  5 23:38 libgvplugin_gs.so.6 -> libgvplugin_gs.so.6.0.0*
-rwxr-xr-x 1 root root  14616 Mar 31 20:09 libgvplugin_gs.so.6.0.0*
-rwxr-xr-x 1 root root   2251 Mar 31 20:09 libgvplugin_gtk.la*
lrwxrwxrwx 1 root root     24 Apr  5 23:38 libgvplugin_gtk.so -> libgvplugin_gtk.so.6.0.0*
lrwxrwxrwx 1 root root     24 Apr  5 23:38 libgvplugin_gtk.so.6 -> libgvplugin_gtk.so.6.0.0*
-rwxr-xr-x 1 root root  35840 Mar 31 20:09 libgvplugin_gtk.so.6.0.0*
-rwxr-xr-x 1 root root   1324 Mar 31 20:09 libgvplugin_neato_layout.la*
lrwxrwxrwx 1 root root     33 Apr  5 23:38 libgvplugin_neato_layout.so -> libgvplugin_neato_layout.so.6.0.0*
lrwxrwxrwx 1 root root     33 Apr  5 23:38 libgvplugin_neato_layout.so.6 -> libgvplugin_neato_layout.so.6.0.0*
-rwxr-xr-x 1 root root 625512 Mar 31 20:09 libgvplugin_neato_layout.so.6.0.0*
-rwxr-xr-x 1 root root   2221 Mar 31 20:09 libgvplugin_pango.la*
lrwxrwxrwx 1 root root     26 Apr  5 23:38 libgvplugin_pango.so -> libgvplugin_pango.so.6.0.0*
lrwxrwxrwx 1 root root     26 Apr  5 23:38 libgvplugin_pango.so.6 -> libgvplugin_pango.so.6.0.0*
-rwxr-xr-x 1 root root  48728 Mar 31 20:09 libgvplugin_pango.so.6.0.0*
-rwxr-xr-x 1 root root   2604 Mar 31 20:09 libgvplugin_poppler.la*
lrwxrwxrwx 1 root root     28 Apr  5 23:38 libgvplugin_poppler.so -> libgvplugin_poppler.so.6.0.0*
lrwxrwxrwx 1 root root     28 Apr  5 23:38 libgvplugin_poppler.so.6 -> libgvplugin_poppler.so.6.0.0*
-rwxr-xr-x 1 root root  10448 Mar 31 20:09 libgvplugin_poppler.so.6.0.0*
-rwxr-xr-x 1 root root   2405 Mar 31 20:09 libgvplugin_rsvg.la*
lrwxrwxrwx 1 root root     25 Apr  5 23:38 libgvplugin_rsvg.so -> libgvplugin_rsvg.so.6.0.0*
lrwxrwxrwx 1 root root     25 Apr  5 23:38 libgvplugin_rsvg.so.6 -> libgvplugin_rsvg.so.6.0.0*
-rwxr-xr-x 1 root root  10448 Mar 31 20:09 libgvplugin_rsvg.so.6.0.0*
-rwxr-xr-x 1 root root   2079 Mar 31 20:09 libgvplugin_xlib.la*
lrwxrwxrwx 1 root root     25 Apr  5 23:38 libgvplugin_xlib.so -> libgvplugin_xlib.so.6.0.0*
lrwxrwxrwx 1 root root     25 Apr  5 23:38 libgvplugin_xlib.so.6 -> libgvplugin_xlib.so.6.0.0*
-rwxr-xr-x 1 root root  18992 Mar 31 20:09 libgvplugin_xlib.so.6.0.0*
drwxr-xr-x 2 root root     70 Apr  5 23:38 perl/
drwxr-xr-x 2 root root     69 Apr  5 23:38 php/
drwxr-xr-x 2 root root     75 Apr  5 23:38 python/
drwxr-xr-x 2 root root   4096 Apr  5 23:38 tcl/
I'm rather puzzled by these warnings.

TBH, I'm not sure why
Code:
chroot . /usr/bin/dot -c
in doinst.sh is superior to
Code:
( cd / ; /usr/bin/dot -c )
EDIT: Now that I'm watching, the libinput and QT5 builds did not show the above behavior.

Last edited by Richard Cranium; 04-06-2019 at 12:18 AM.
 
Old 04-07-2019, 04:31 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I, to was excited by the potential of slackrepo, and saddened by the lack of performance. As for these,
Quote:
TBH, I'm not sure why
Code:chroot . /usr/bin/dot -c

in doinst.sh is superior to
Code cd / ; /usr/bin/dot -c )
It's a question of perspective. The chroot allows you to doctor up some special conditions to operate that software only on, whereas the 'cd /' approach uses the main system.
 
Old 04-07-2019, 11:31 AM   #3
DarrenDrapkin
Member
 
Registered: Aug 2014
Location: Leeds, England
Distribution: Slackware x86 64 version 15.0
Posts: 127
Blog Entries: 3

Rep: Reputation: 27
Code:
this sets your current dirctory as a virtual root directory
chroot . 
this changes your current directory to the top of the filling system
cd /
 
Old 04-07-2019, 11:43 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Original Poster
Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Ah, the issue is that installpkg et al allows you to set the install root (which makes sense for the initial installation of Slackware). chroot . will DTRT in that case, whereas ( cd / ; blah ) will not.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Initial Setup of slackrepo (plus some questions) bassmadrigal Slackware 98 09-17-2017 05:31 PM
slackrepo and custom SlackBuild atelszewski Slackware 4 11-01-2016 06:42 PM
[SOLVED] Two questions / wishes related to slackrepo slalik Slackware 3 07-21-2015 05:18 AM
[ANN] New package building tool: slackrepo 55020 Slackware 18 07-24-2014 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration