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 02-06-2014, 07:23 AM   #1
viperpaki007
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Rep: Reputation: Disabled
dlopen failed to open 'libdl.so ERROR


Hi,

I am new to using linux and using it just to run cadence virtuoso software. I mount the /apps directory from another server to my pc and then source cadence setup file. However, i get the following error.


[fulhaq@mypc Desktop]$ tcsh
[fulhaq@mypc ~/Desktop]$ source /apps/cadence/setup.csh
[fulhaq@mypc ~/Desktop]$ virtuoso &
2631
[fulhaq@mypc ~/Desktop]$ dlopen failed to open 'libdl.so'

Can somebody suggest how i can remove this error. Do i have to install libdl.so file. if yes then how?
 
Old 02-06-2014, 09:10 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
You might check and make sure you have libdl installed. It should be on each system as it is considered a rather usefull and common utility.
 
Old 02-06-2014, 01:29 PM   #3
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
very strange, libdl comes with glibc
Code:
which virtuoso | xargs ldd
to see where virtuoso wants the library to be
Code:
ls -lA /{lib,lib64}/libdl*
to search for libdl
 
Old 02-07-2014, 01:58 AM   #4
viperpaki007
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
very strange, libdl comes with glibc
Code:
which virtuoso | xargs ldd
to see where virtuoso wants the library to be
Code:
ls -lA /{lib,lib64}/libdl*
to search for libdl

Hi, I ran you mentioned commands and here is the result from terminal window:

[fulhaq@mypc ~]$ tcsh
[fulhaq@mypc ~]$ source /apps/cadence/setup.csh
[fulhaq@mypc ~]$ virtuoso &
[1] 2544
[fulhaq@mypc ~]$ dlopen failed to open 'libdl.so'

[1] Exit 1 virtuoso
[fulhaq@mypc ~]$ which virtuoso | xargs ldd
not a dynamic executable
[fulhaq@mypc ~]$ su -
Password:
[root@mypc ~]# which virtuoso | xargs ldd
/usr/bin/which: no virtuoso in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ldd: missing file arguments
Try `ldd --help' for more information.
[root@mypc ~]# ls -lA /{lib,lib64}/libdl*
-rwxr-xr-x. 1 root root 22536 Nov 5 19:00 /lib64/libdl-2.12.so
lrwxrwxrwx. 1 root root 13 Feb 4 15:25 /lib64/libdl.so.2 -> libdl-2.12.so
-rwxr-xr-x. 1 root root 19784 Nov 5 19:14 /lib/libdl-2.12.so
lrwxrwxrwx. 1 root root 13 Feb 4 15:39 /lib/libdl.so.2 -> libdl-2.12.so
[root@mypc ~]


I don't know what should i conclude from above results. Do i have to install libdl.so. If yes then how can i install it?
 
Old 02-07-2014, 06:37 AM   #5
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
ok, i think virtuoso is a 32bit application and your host is 64bit, on a root shell do this

Code:
cd /usr/lib
ln -s libdl-2.12.so libdl.so
this should fix; you already have libdl installed but virtuoso tries to load it with another filename
 
1 members found this post helpful.
Old 02-07-2014, 07:54 AM   #6
viperpaki007
LQ Newbie
 
Registered: Feb 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
ok, i think virtuoso is a 32bit application and your host is 64bit, on a root shell do this

Code:
cd /usr/lib
ln -s libdl-2.12.so libdl.so
this should fix; you already have libdl installed but virtuoso tries to load it with another filename

Hi gengisdave,

I ran the commands but the problem still remains there. Here is the result.

[fulhaq@mypc ~/Desktop]$ su -
Password:
[root@mypc ~]# cd /usr/lib
[root@mypc lib]# ln -s libdl-2.12.so libdl.so
ln: creating symbolic link `libdl.so': File exists
[root@mypc lib]# su - fulhaq
[fulhaq@mypc ~]$ tcsh
[fulhaq@mypc ~]$ source /apps/cadence/setup.csh
[fulhaq@mypc ~]$ virtuoso &
[1] 2788
[fulhaq@mypc ~]$ dlopen failed to open 'libdl.so'
 
Old 02-16-2015, 05:21 AM   #7
amitjangra
LQ Newbie
 
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
Solved : dlopen failed to open 'libdl.so ERROR

install 64 bit version of libXp

yum install libXp-1.0.2-2.1.el6.x86_64

and in your source file add

setenv CDS_AUTO_64BIT ALL
 
Old 10-14-2018, 04:45 AM   #8
BaruchGu
LQ Newbie
 
Registered: Oct 2018
Posts: 1

Rep: Reputation: Disabled
Missing lib for virtuoso 64bit

I solved this issue by

Quote:
su -
ln -s libdl.so.2 /lib64/libdl.so
 
  


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
AWK (could be JVM?) Error - libdl.so.2/libc.so.6 revof11 Linux - Software 14 08-29-2014 02:34 PM
dlopen error : libcrypto.so.6: cannot open shared object file Spencerbaibai Linux - Software 2 01-30-2012 04:54 AM
awk: error while loading shared libraries: libdl.so.2: gnome_dj Linux - Software 1 12-28-2009 01:08 AM
dlopen() fails to open a .so that #includes SDL.h qwijibow Programming 1 03-12-2007 10:33 AM
Enemy-Territory: dlopen libGL.so.1 failed DaneM Linux - Games 2 11-12-2005 11:41 PM

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

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