LinuxQuestions.org
Review your favorite Linux distribution.
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 11-29-2017, 10:30 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
current gdb has dependency on old libpython


Quote:
ldd /usr/bin/gdb

libpython3.6m.so.1.0 => not found
The new python libraries lack the library the current gdb depends upon.
 
Old 11-29-2017, 10:47 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
clean and full install of slackware64-current here
Code:
$ grep libpython3.6m.so.1.0 /var/log/packages/*
/var/log/packages/python3-3.6.3-x86_64-1:usr/lib64/libpython3.6m.so.1.0
$ ldd /usr/bin/gdb | grep libpython3.6m.so.1.0
        libpython3.6m.so.1.0 => /usr/lib64/libpython3.6m.so.1.0 (0x00007f5878e09000)
 
Old 11-29-2017, 10:51 AM   #3
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
Quote:
Originally Posted by RandomTroll View Post
The new python libraries lack the library the current gdb depends upon.
reinstall python3 package

this lib is present in the python3 package
 
1 members found this post helpful.
Old 11-29-2017, 08:52 PM   #4
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Whoops! Thanks. I hadn't noticed the new version of python.
 
  


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
Error gdb on current AndreyMaraev Slackware 1 09-25-2012 02:57 PM
gdb error with slackware64-current chexmix Slackware 2 04-06-2012 01:49 AM
gdb: a symbol to represent the current line. stf92 Programming 2 08-13-2011 07:09 PM
GDB - How to set breakpoints in files located outside the current dir chogall Programming 2 02-17-2011 03:25 PM
noobie has issue with superkaramba and s libpython sross Linux - Newbie 4 06-07-2004 02:34 AM

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

All times are GMT -5. The time now is 07:47 AM.

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