dhrndz1211 / mupen64plus

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

failed to find Mupen64Plus Core Library #511

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System (be specific): CrystalBuntu 8.04
 - Machine type (32-bit or 64-bit): 32-bit
 - Mupen64Plus version: 1.99.5

I'm attempting to run Mupen64Plus on my AppleTV. Most games will likely run 
slow but it's something I'd like to attempt and see what I get.

I can install it fine, but I can't get the emulator to run. Any input would be 
appreciated.

atv@Crystalbuntu:~/mupen64plus$ sudo ./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.
atv@Crystalbuntu:~/mupen64plus$ mupen64plus
 __  __                         __   _  _   ____  _
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
             |_|         http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.5

dlopen('./libmupen64plus.so.2') error: /usr/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.11' not found (required by ./libmupen64plus.so.2)
AttachCoreLib() Error: failed to find Mupen64Plus Core library

Original issue reported on code.google.com by KhaderWe...@gmail.com on 27 Aug 2012 at 9:57

GoogleCodeExporter commented 8 years ago
Oops, the above is what results if you try and run the emulator over SSH, which 
shouldn't work for obvious reasons.

Here is the output that's more likely to actually be helpful.

 __  __                         __   _  _   ____  _             
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___ 
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
             |_|         http://code.google.com/p/mupen64plus/  
Mupen64Plus Console User-Interface Version 1.99.5

dlopen('./libmupen64plus.so.2') error: ./libmupen64plus.so.2: cannot open 
shared object file: No such file or directory
AttachCoreLib() Error: failed to find Mupen64Plus Core library

Original comment by KhaderWe...@gmail.com on 27 Aug 2012 at 10:06

GoogleCodeExporter commented 8 years ago
Please correctly install it or specify the path to the core with `mupen64plus 
--corelib /path/to/the/libmupen64plus.so.2 ...`

The first error indicates that your libstdc++.so.6 is not compatible with the 
prebuild version. You can rebuild it using the source tarball(s).

Original comment by s...@narfation.org on 5 Sep 2012 at 6:06

GoogleCodeExporter commented 8 years ago
Even when installed correctly, it seems as though mupen64plus needs to be ran 
from the directory that it was originally installed from. Running 
/path/to/mupen64plus /path/to/rom does not work. You actually have to bring the 
terminal to the directory it was installed from before running it.

Original comment by tea...@gmail.com on 25 Dec 2012 at 9:50

GoogleCodeExporter commented 8 years ago
@teanbu: What is your output and what is the setting in your mupen64plus.cfg 
under [UI-Console]?

Original comment by s...@narfation.org on 26 Dec 2012 at 12:05

GoogleCodeExporter commented 8 years ago
Are you sure you have downloaded the Ubuntu-friendly package in the download 
section? Have you tried compiling on your machine from the latest source?

Original comment by alessand...@gmail.com on 4 Jun 2013 at 3:58

GoogleCodeExporter commented 8 years ago
Hi..
My System:
 - Operating System: fedora 19
 - Machine type (32-bit or 64-bit): 64-bit
 - Mupen64Plus version: 2.0.0

The Error:
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

simple fix running: #mupen64plus --corelib /usr/local/lib/libmupen64plus.so.2 
game.n64

The problem:
The app  don't read the config file 
/home/myuser/.config/mupen64plus/mupen64plus.cfg ..Why..i don't know..

Can i put something like CoreLibPath="/usr/local/lib/libmupen64plus.so.2" 
inside the config file?

Original comment by mjsorri...@gmail.com on 26 Aug 2013 at 7:28

GoogleCodeExporter commented 8 years ago
mjsorribas, your problem is different from the original reporter's problem.  
Please file under a new issue report.  You cannot put a path to the core 
library inside of the configuration file, because the application must first 
load the core library before it can read the configuration file.  It's a sort 
of 'chicken-and-egg' problem.  The application must find the core library by 
itself.  However the /usr/local/lib/ path is one of the hard-coded paths which 
is searched by the application, so I don't know why it cannot find the library.

Original comment by richard...@gmail.com on 28 Aug 2013 at 3:13

GoogleCodeExporter commented 8 years ago
This occurs on Centos from a fresh installation as well:

[root@homebase 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/lib/mupen64plus'
Installation successful.

[root@homebase mupen64plus-bundle-linux64-2.0]# ./mupen64plus&
[1] 31216
[root@homebase mupen64plus-bundle-linux64-2.0]#  __  __                         
__   _  _   ____  _             
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___ 
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
             |_|         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: libpng15.so.15: 
cannot open shared object file: No such file or directory
UI-Console Error: AttachCoreLib() Error: failed to find Mupen64Plus Core library

The file is also obviously in the proper location:
[root@homebase mupen64plus-bundle-linux64-2.0]# stat 
/usr/local/lib/libmupen64plus.so.2 
  File: `/usr/local/lib/libmupen64plus.so.2'
  Size: 511816      Blocks: 1000       IO Block: 4096   regular file
Device: 811h/2065d  Inode: 2124564     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-10-27 09:02:26.398960966 -0500
Modify: 2013-10-27 09:02:20.703960974 -0500
Change: 2013-10-27 09:02:20.703960974 -0500

Nothing was altered or changed from unzipping the binary tar. 

Original comment by r...@solidarray.com on 27 Oct 2013 at 2:14

GoogleCodeExporter commented 8 years ago
@ryan@solidarray.com: I would say that you should not post unrelated things in 
other peoples bug reports and create new ones when you have found a different 
bug.

But actually, this is not a bug. Just install libpng15.so.15 to have all 
requirements available or create a new build against your libpng version.

Original comment by s...@narfation.org on 28 Oct 2013 at 1:15

GoogleCodeExporter commented 8 years ago

Original comment by s...@narfation.org on 18 Dec 2013 at 12:05