floorabucoo / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

cannot open shared object file: No such file or directory #574

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe your system:
 - Operating System (be specific): Fedora 19 w/ Kernel 3.9.5-301
 - Machine type (32-bit or 64-bit): 64-bit
 - Mupen64Plus version: 2.0.0
 - Plugins used: None

Describe the problem:
Attempting to run emulator before installing a front-end, yet it can't seem to 
work.

Installation seemed to go off without a hitch, yet I get this error when trying 
to start it.

[root@new-host-3 mupen64plus-bundle-linux64-2.0]# ./install.sh
Installing Mupen64Plus Binary Bundle to /usr/local
install: creating directory ‘/usr/local/share/mupen64plus’
install: creating directory ‘/usr/local/share/mupen64plus/doc’
install: creating directory ‘/usr/local/share/man/man6’
install: creating directory ‘/usr/local/lib/mupen64plus’
Installation successful.
[root@new-host-3 mupen64plus-bundle-linux64-2.0]# cd \
> 
[root@new-host-3 ~]# mupen64plus
 __  __                         __   _  _   ____  _             
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___ 
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
             |_|         http://code.google.com/p/mupen64plus/  
Mupen64Plus Console User-Interface Version 2.0.0

UI-Console Error: dlopen('/usr/local/lib/libmupen64plus.so.2') failed: 
/usr/local/lib/libmupen64plus.so.2: cannot open shared object file: No such 
file or directory
UI-Console Error: dlopen('./libmupen64plus.so.2') failed: 
./libmupen64plus.so.2: cannot open shared object file: No such file or directory
UI-Console Error: AttachCoreLib() Error: failed to find Mupen64Plus Core library
[root@new-host-3 ~]# 

Original issue reported on code.google.com by dylan...@gmail.com on 29 Aug 2013 at 12:24

GoogleCodeExporter commented 9 years ago
Please provide the output of 

$ ls -ltr /usr/local/lib/libmupen64plus.so*

Original comment by s...@narfation.org on 29 Aug 2013 at 12:37

GoogleCodeExporter commented 9 years ago
-rw-r--r--. 1 root root 511816 Aug 29 08:08 
/usr/local/lib/libmupen64plus.so.2.0.0

Original comment by dylan...@gmail.com on 29 Aug 2013 at 12:58

GoogleCodeExporter commented 9 years ago
Can you please run as root:

/sbin/ldconfig -v

And please show the content of /etc/ld.so.conf.d/* and /etc/ld.so.conf

Original comment by s...@narfation.org on 29 Aug 2013 at 1:34

GoogleCodeExporter commented 9 years ago
For the files of /etc/ld.so.conf.d/*

atlas-x86_64.conf
/usr/lib64/atlas

kernel-3.10.7-200.fc19.x86_64.conf
# Placeholder file, no vDSO hwcap entries used in this kernel.

kernel-3.10.9-200.fc19.x86_64.conf
# Placeholder file, no vDSO hwcap entries used in this kernel.

kernel-3.9.5-301.fc19.x86_64.conf
# Placeholder file, no vDSO hwcap entries used in this kernel.

llvm-i386.conf
/usr/lib/llvm

llvm-x86_64.conf
/usr/lib64/llvm

mariadb-x86_64.conf
/usr/lib64/mysql

qt-i386.conf
/usr/lib/qt-3.3/lib

qt-x86_64.conf
/usr/lib64/qt-3.3/lib

wine-64.conf
/usr/lib64/wine/

xulrunner-64.conf
/usr/lib64/xulrunner

And then /etc/ld.so.conf

include ld.so.conf.d/*.conf

Original comment by dylan...@gmail.com on 29 Aug 2013 at 2:00

GoogleCodeExporter commented 9 years ago
Ok, a file (example name "/etc/ld.so.conf.d/libc.conf") with following content 
is "missing":

/usr/local/lib

Please add such a file and rerun "/sbin/ldconfig"

Original comment by s...@narfation.org on 29 Aug 2013 at 2:14

GoogleCodeExporter commented 9 years ago
EVeyrthing works now. Thanks!

Original comment by dylan...@gmail.com on 29 Aug 2013 at 2:23

GoogleCodeExporter commented 9 years ago

Original comment by s...@narfation.org on 29 Aug 2013 at 2:30

GoogleCodeExporter commented 9 years ago
After your modification i have the same issue :
LinuxMint # mupen64plus 
 __  __                         __   _  _   ____  _             
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___ 
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
             |_|         http://code.google.com/p/mupen64plus/  
Mupen64Plus Console User-Interface Version 2.0.0

UI-Console Error: dlopen('/usr/local/lib/libmupen64plus.so.2') failed: 
libpng15.so.15: cannot open shared object file: No such file or directory
UI-Console Error: dlopen('./libmupen64plus.so.2') failed: 
./libmupen64plus.so.2: cannot open shared object file: No such file or directory
UI-Console Error: AttachCoreLib() Error: failed to find Mupen64Plus Core library

LinuxMint # cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib

Please Help !!!!

Original comment by p.minde...@gmail.com on 24 May 2014 at 8:36