LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-26-2014, 12:21 PM   #1
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
Exclamation unable to install graphviz 64 on slackware 14.1 64 bits through sbopkg


/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: /usr/local/lib/perl5/5.20.1/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/perl5/5.20.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status



make[4]: *** [libgv_perl.la] Error 1
make[4]: Leaving directory `/tmp/SBo/graphviz-2.36.0/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/graphviz-2.36.0/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/graphviz-2.36.0/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/graphviz-2.36.0'
make: *** [all] Error 2

i already install gts, pyparsing and others py´s
 
Old 12-26-2014, 12:30 PM   #2
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
@allenlinux: the same question got posted earlier, see here. No solution yet.
 
Old 12-26-2014, 06:52 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
How did you install PERL?
This should not exist in Slackware
Code:
/usr/local/lib/perl5/5.20.1/x86_64-linux/CORE/libperl.a
it should be like this in slackware64-14.1
Code:
cat /var/log/packages/perl-5.18.1-x86_64-1 | grep libperl
usr/lib64/perl5/CORE/libperl.so
 
Old 12-26-2014, 07:28 PM   #4
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
Post perl issue

my output:

|| cat /var/log/packages/perl-5.18.1-x86_64-1 | grep libperl
usr/lib64/perl5/CORE/libperl.so ||

i install perl from perl page
./configure
make
make test
make install

should i remove that new perl?


im looking for a uninstall script but i can not find it
maybe it work something like
rm -rf /usr/local/lib/perl5/5.20.1/x86_64-linux/CORE/libperl.a

or

rm -rf /usr/local/lib/perl5*

i dont know-.
 
Old 12-26-2014, 08:29 PM   #5
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
Talking | remove new perl | install other deps | and fix the sbopkg info |

thanks to all.

Important information

-There is something 'wrong' with the sbopkg info, which means: the graphviz version its 2.38.0, but when you apply sbopkg -i graphviz the package is not 2.38.0, its 2.36.
-Also dependencies to graphviz are not set.
-If somebody are going to install that package its importan to install first (check the sub-dependencies before:

pyparsing
luacrypto
openssl (from page)
perl-Crypt-OpenSSL-Bignum
perl-Crypt-OpenSSL-Random
perl-Crypt-OpenSSL-RSA
six
pysetuptools
pycparser
cffi
cryptography (use pip)
pyOpenSSL


-if somebody install the new perl version (a source compilation) using perl.com you dont need it. REMOVE IT:

rm -rf /usr/local/lib/perl5


then

reboot

then install the main package

sbopkg -i graphviz
 
Old 12-26-2014, 09:17 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Slackware already came with perl, why install it from source again?

Just curious, have you run sbopkg -r to update it's local repository?
Sbopkg doesn't handle dependencies, unless you have generated queue files, which can be easily done by the use of sqg

Last edited by willysr; 12-26-2014 at 09:18 PM.
 
Old 12-26-2014, 10:41 PM   #7
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
a few months ago some app ask me the last v of perl.
 
Old 12-27-2014, 12:21 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you should remove perl installed from source and use slackbuild script to build your needed perl version
 
Old 12-27-2014, 01:22 PM   #9
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
-slackbuilds always tell you about other need it program. This "program" require /what ever/

-I remove perl source, but i can not find the perl slackbuild to install what i need, if you help me how to find that i will be thanksfull.
 
Old 12-27-2014, 01:29 PM   #10
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by allenlinux View Post
-slackbuilds always tell you about other need it program. This "program" require /what ever/

-I remove perl source, but i can not find the perl slackbuild to install what i need, if you help me how to find that i will be thanksfull.
If you can't live with the Perl version that comes by default you can update the slackbuild script used to build it directly. It is in the slackware source directory, here. Thing to change is the version.
 
  


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
[SOLVED] Setup 32 bits environment within 64 bits install yogesh_attarde Linux - Software 3 09-25-2013 08:51 AM
Button of Xchat on Slackware 13.1 in 64 bits and 32 bits Laodiceans Slackware 1 06-21-2010 05:32 PM
Can I install Linux 32 bits on system 64 bits? miros84 Linux - Software 7 01-06-2010 07:49 AM
sbopkg after a re-install of slackware 12.2 farmerdave Slackware 0 11-09-2009 04:56 AM
external library of graphviz needed to install ????? wahaha Linux - Networking 0 08-12-2006 11:42 PM

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

All times are GMT -5. The time now is 08:28 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