LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2011, 05:58 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
symbol lookup error


hi
i installed 'glpeces-4.1-Linux-x86-Install'
on running it as root or normal user I get
Code:
/usr/local/glpeces $sudo ./glpeces 
./glpeces: symbol lookup error: ./glpeces: undefined symbol: _ZN9QListData11detach_growEPii
/usr/local/glpeces $./glpeces 
./glpeces: symbol lookup error: ./glpeces: undefined symbol: _ZN9QListData11detach_growEPii
I tried
Code:
ldd glpeces
	linux-gate.so.1 =>  (0xb7820000)
	libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb77b0000)
	libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6d34000)
	libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6ab5000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6a9c000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb69a6000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6980000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6961000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb6806000)
	libz.so.1 => /lib/libz.so.1 (0xb67f1000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb67c1000)
	libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb67aa000)
	libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb66e0000)
	libpng12.so.0 => /lib/libpng12.so.0 (0xb66bb000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6644000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6605000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb65fc000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb65e3000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb65d9000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb65c8000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb64ab000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb64a7000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb64a1000)
	librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6498000)
	/lib/ld-linux.so.2 (0xb7821000)
	libexpat.so.1 => /lib/libexpat.so.1 (0xb6471000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0xb641d000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb6419000)
	libpcre.so.3 => /lib/libpcre.so.3 (0xb63e8000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb63e3000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb63c9000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb63c2000)
 
Old 08-24-2011, 07:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"glpeces-4.1" : Nice puzzle. But the installer doesn't work on all Linux OS.

No luck on Ubuntu 10.04 Lucid, Slackware 13.1.
OK on PCLinuxOS 2010 with Qt4 version 4.7.1 .

This objdump command is with qt4-4.7.1 :
objdump -x /usr/lib/libQt* | grep ZN9QListData11detach_growEPii :
00000000 *UND* 00000000 _ZN9QListData11detach_growEPii
0000128d R_386_PLT32 _ZN9QListData11detach_growEPii

So I guess, it will work on a later Ubuntu, with libqt4:4.7.x,
like Ubuntu 10.10 and 11.04 .

For Ubuntu 10.04, please use the package glpeces_4.1-1_i386.deb
http://switch.dl.sourceforge.net/pro...4.1-1_i386.deb

..

Last edited by knudfl; 08-24-2011 at 07:46 AM.
 
1 members found this post helpful.
Old 08-25-2011, 12:55 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I have ubuntu 10.04
I got 'glpeces_4.1-1_i386.deb'
copied it to /root/glpeces
ran
cd /root ; dpkg-scanpackages glpeces /dev/null | gzip > glpeces/Packages.gz
Added following line to /etc/apt/sources.list.d/local.list
deb file:/root glpeces/
updated & installed
Code:
apt-get update;apt-get install glpeces
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  glpeces
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/690kB of archives.
After this operation, 3,514kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  glpeces
Install these packages without verification [y/N]? y
Selecting previously deselected package glpeces.
(Reading database ... 183653 files and directories currently installed.)
Unpacking glpeces (from .../glpeces/glpeces_4.1-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_IN.cache...
Processing triggers for python-support ...
Setting up glpeces (4.1-1) ...
One shot solution from knudfl . Great !

BTW :
this puzzle is tangram , a brain exercise for spatial orientation .
You will fit all pieces & it would seem last piece is bigger or smaller . Reconstruct & in a few attempts you may succeed.
Here is one i I managed to make from pieces (literally)
Click image for larger version

Name:	1.jpg
Views:	29
Size:	114.0 KB
ID:	7881

Last edited by sumeet inani; 08-25-2011 at 12:56 AM.
 
Old 08-25-2011, 02:50 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#3 : That's one very complicated install metod !
The install command used by apt is "dpkg -i".


The one-liner install of glpeces_4.1-1_i386.deb :

cd /home/<name>/Downloads/ && sudo dpkg -i glpeces_4.1-1_i386.deb


..
 
Old 08-25-2011, 03:09 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
If I try to install something which needs extra library etc. (to work properly) then 'dpkg -i' ain't helpful.
I guess it just installs debian file given unless there is conflict irrespective of need of extra libraries.
That is why it is suggested to let 'APT' decide debian file needed .

Last edited by sumeet inani; 08-25-2011 at 03:11 AM.
 
Old 08-25-2011, 04:38 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 :
OK. There is also a command for installing a local package and all its dependencies:


sudo gdebi glpeces_4.1-1_i386.deb


http://packages.debian.org/en/sid/gdebi
""gdebi lets you install local deb packages resolving and installing its dependencies""

..
 
1 members found this post helpful.
Old 08-25-2011, 10:56 PM   #7
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
okay
'gdebi' seems useful.
What more , it is in inbuilt in ubuntu 10.04 .
 
Old 08-25-2011, 11:02 PM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
I verified that
Code:
sudo gdebi kompozer-data_0.8~b1-2_all.deb 
#This is dependency of kompozer so independently installable
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
kompozer data files
 KompoZer is a complete Web Authoring System that
 combines web file management and easy-to-use WYSIWYG
 (What You See Is What You Get) web page editing.
 .
 KompoZer is designed to be extremely easy to use,
 making it ideal for non-technical computer users
 who want to create an attractive, professional-looking
 web site without needing to know HTML or web coding.
 .
 This package install kompozer data files.
Do you want to install the software package? [y/N]:y
Selecting previously deselected package kompozer-data.
(Reading database ... 183982 files and directories currently installed.)
Unpacking kompozer-data (from kompozer-data_0.8~b1-2_all.deb) ...
Setting up kompozer-data (1:0.8~b1-2) ...
sudo apt-get remove kompozer-data
sudo gdebi kompozer_0.8~b1-2_i386.deb 
#Here kompozer without its dependency presence fails . As desired .
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
The following packages are UNAUTHENTICATED: 
kompozer  kompozer-data 
Requires the installation of the following packages: 
kompozer  kompozer-data 
complete Web Authoring System
 KompoZer is a complete Web Authoring System that
 combines web file management and easy-to-use WYSIWYG
 (What You See Is What You Get) web page editing.
 .
 KompoZer is designed to be extremely easy to use,
 making it ideal for non-technical computer users
 who want to create an attractive, professional-looking
 web site without needing to know HTML or web coding.
Do you want to install the software package? [y/N]:y
Failed file:/root/ universe/ kompozer-data 1:0.8~b1-2
Failed file:/root/ universe/ kompozer 1:0.8~b1-2
Done downloading            
Traceback (most recent call last):
  File "/usr/bin/gdebi", line 111, in <module>
    debi.install()
  File "/usr/lib/python2.6/dist-packages/GDebi/GDebiCli.py", line 123, in install
    res = self._cache.commit(fprogress,iprogress)
  File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 103, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 374, in commit
    res = self._fetch_archives(fetcher, pm)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 261, in _fetch_archives
    return self._run_fetcher(fetcher)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 243, in _run_fetcher
    raise FetchFailedException(err_msg)
apt.cache.FetchFailedException: Failed to fetch file:/root/pool/universe/k/kompozer/kompozer-data_0.8~b1-2_all.deb File not found
Failed to fetch file:/root/pool/universe/k/kompozer/kompozer_0.8~b1-2_i386.deb File not found
sudo apt-get remove kompozer
#So kompozer was not installed above as shown.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package kompozer is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
 
  


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] symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_file_link bagi Slackware 3 05-17-2011 07:49 AM
glib error while installing patch: symbol lookup error undefined symbol: g_dgettext mthakare Linux - Software 1 06-14-2010 04:01 AM
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 08:14 AM
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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