Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

bin/secondlife-bin: error while loading shared libraries: libvorbisenc.so.2

Brett Lewellen
Registered User
Join date: 20 Jun 2006
Posts: 9
08-31-2006 08:08
This is the error I get when trying to launch the latest version of SL.
I claims it "cannot open shared object file: No such file or directory"

Yet

CODE

####@##### ./SecondLife_i686_1_12_0_51742 $ locate libvorbisenc.so.2
/usr/lib/libvorbisenc.so.2
/usr/lib/libvorbisenc.so.2.0.2



I am on 64bit Kubuntu but the version of SL before this one worked fine.
Jackson Cunningham
Registered User
Join date: 24 Sep 2004
Posts: 11
09-01-2006 17:50
same error here, 64-bit Ubuntu. looks like I have the needed file, SL just can't find it...

CODE

$ ls -l /usr/lib/libvorbisenc.so.2*
lrwxrwxrwx 1 root root 21 2005-01-02 16:36 /usr/lib/libvorbisenc.so.2 -> libvorbisenc.so.2.0.2
-rw-r--r-- 1 root root 1938176 2006-05-02 06:45 /usr/lib/libvorbisenc.so.2.0.2
Gabriel Kawabata
Registered User
Join date: 10 Nov 2005
Posts: 6
solution
09-01-2006 17:52
/263/29/134317/1.html
Jackson Cunningham
Registered User
Join date: 24 Sep 2004
Posts: 11
09-01-2006 18:01
Thanks Gabriel - was just about to say, I tried that and it got rid of my libvorbisenc error (but I get a new error: createContext: window creation failure. SDL: Couldn't find matching GLX visual )
Gabriel Kawabata
Registered User
Join date: 10 Nov 2005
Posts: 6
09-01-2006 18:03
That sounds a little more serious. :-) What video card are you using?
Jackson Cunningham
Registered User
Join date: 24 Sep 2004
Posts: 11
09-01-2006 20:05
ATI Radeon 9550, 256 MB, ATI Proprietary drivers, version 2.0.6011 (8.28.8)

Here's the full output:

CODE

2006-09-02T02:58:29Z INFO: Checking marker file for lock...
2006-09-02T02:58:29Z INFO: Marker file isn't locked.
2006-09-02T02:58:29Z INFO: Checking marker file for lock...
2006-09-02T02:58:29Z INFO: Marker file created.
2006-09-02T02:58:29Z INFO: Removing message.log
2006-09-02T02:58:29Z INFO: Exiting init_marker_file().
2006-09-02T02:58:29Z INFO: Opening debug file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/logs/debug_info.log
2006-09-02T02:58:29Z INFO: Second Life version 1.12.0
2006-09-02T02:58:29Z INFO: Local time: 2006-09-01T19:58:29 PDT
2006-09-02T02:58:29Z INFO: CPU info:
2006-09-02T02:58:29Z processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 44 model name : AMD Athlon(tm) 64 Processor 3400+ stepping : 0 cpu MHz : 2411.740 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm bogomips : 4828.65 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc
2006-09-02T02:58:29Z INFO: Memory info:
2006-09-02T02:58:29Z MemTotal: 1028444 kB MemFree: 545520 kB Buffers: 9144 kB Cached: 314332 kB SwapCached: 0 kB Active: 177532 kB Inactive: 252840 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 1028444 kB LowFree: 545520 kB SwapTotal: 1052216 kB SwapFree: 1052216 kB Dirty: 196 kB Writeback: 0 kB Mapped: 163676 kB Slab: 23924 kB CommitLimit: 1566436 kB Committed_AS: 320624 kB PageTables: 5168 kB VmallocTotal: 34359738367 kB VmallocUsed: 6452 kB VmallocChunk: 34359731703 kB
2006-09-02T02:58:29Z INFO: OS info: Linux 2.6.15-26-amd64-generic #1 SMP PREEMPT Thu Aug 3 02:52:35 UTC 2006 x86_64
2006-09-02T02:58:29Z INFO: Loading feature tables.
2006-09-02T02:58:29Z INFO: Applying Feature Mask: CPUSlow
2006-09-02T02:58:29Z INFO: Loading configuration file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/settings.xml
2006-09-02T02:58:29Z WARNING: Couldn't open file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/settings.xml
2006-09-02T02:58:29Z WARNING: LLXmlTree parse failed. Line 1: Couldn't open file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/settings.xml
2006-09-02T02:58:29Z WARNING: Unable to open control file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/settings.xml
2006-09-02T02:58:29Z INFO: Failed to load settings from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/settings.xml
2006-09-02T02:58:29Z INFO: Loading legacy settings from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/settings.ini
2006-09-02T02:58:29Z INFO: LLControlGroup::loadFromFile unable to open.
2006-09-02T02:58:29Z WARNING: Couldn't open file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/crash_settings.xml
2006-09-02T02:58:29Z WARNING: LLXmlTree parse failed. Line 1: Couldn't open file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/crash_settings.xml
2006-09-02T02:58:29Z WARNING: Unable to open control file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/user_settings/crash_settings.xml
2006-09-02T02:58:29Z INFO: Loading art table from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/viewerart.xml
2006-09-02T02:58:29Z INFO: Loading base colors from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/colors_base.xml
2006-09-02T02:58:29Z INFO: Loading user colors from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/colors.xml
2006-09-02T02:58:29Z INFO: Failed to load user colors from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/colors.xml
2006-09-02T02:58:29Z INFO: Loading legacy colors from /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/colors.ini
2006-09-02T02:58:29Z INFO: Default vfs data file not present, found /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/.
2006-09-02T02:58:29Z INFO: Old salt: 1
2006-09-02T02:58:29Z WARNING: Bad or missing vfx index file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/index.db2.x.1
2006-09-02T02:58:29Z WARNING: Removing old vfs data file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/.
2006-09-02T02:58:29Z INFO: Renaming /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/. to /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/data.db2.x.1455049372
2006-09-02T02:58:29Z INFO: Renaming /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/index.db2.x.1 to /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/index.db2.x.1455049372
2006-09-02T02:58:29Z INFO: Pre-sized VFS data file to 524288000 bytes
2006-09-02T02:58:29Z INFO: VFS: Using index file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/index.db2.x.1455049372 and data file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/SecondLife/cache/data.db2.x.1455049372
2006-09-02T02:58:29Z INFO: VFS: Using index file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/static_index.db2 and data file /media/extra/downloads/games/SecondLife_i686_1_12_0_51742/app_settings/static_data.db2
2006-09-02T02:58:29Z INFO: Initializing window...
2006-09-02T02:58:29Z INFO: createContext: creating window 800x600x32
2006-09-02T02:58:30Z INFO: createContext: window creation failure. SDL: Couldn't find matching GLX visual
2006-09-02T02:58:30Z WARNING: OSMessageBox: Window creation error



Also, I was looking at other posts and people are talking about SecondLife/user_settings/settings.xml - I don't even have that file. All I have is SecondLife/user_settings/placeholder.dat.
Gabriel Kawabata
Registered User
Join date: 10 Nov 2005
Posts: 6
09-02-2006 09:02
This may help ...

http://www.ubuntuforums.org/showthread.php?t=111750

If you run "glxgears" in a terminal, do you see rotating multi-colored gears?
Jackson Cunningham
Registered User
Join date: 24 Sep 2004
Posts: 11
09-02-2006 12:42
Regarding that ubuntuforums post - I checked and I have Load "glx" in my xorg.conf. I can't do the other part of it because it's an nvidia app (I'm using an ATI card). Also, glxgears works.

When you mentioned glxgears, it reminded me of something, and I wonder if it's related. The ati supplied fgl_glxgears doesn't work unless you use frame buffer object mode:

CODE

$ fgl_glxgears
Using GLX_SGIX_pbuffer
Floating point exception

$ fgl_glxgears -fbo
Using GL_EXT_framebuffer_object
583 frames in 5.0 seconds = 116.600 FPS
625 frames in 5.0 seconds = 125.000 FPS
624 frames in 5.0 seconds = 124.800 FPS



I had been ignoring this problem because other stuff works - I play UT2k4 all the time, and I've tested a few other OpenGL games, and OpenGL screensavers work.

Thanks for looking into it and trying to help Gabriel. Do you think I should start a new thread?
Gabriel Kawabata
Registered User
Join date: 10 Nov 2005
Posts: 6
09-02-2006 13:33
Yeah, I think this warrants a separate thread.
Disastorm Aji
Registered User
Join date: 17 Jun 2006
Posts: 1
09-08-2006 11:11
im fairly certain that if u get rid of the drivers supplied by ati and instead use the ubuntu ones, it should fix it.

http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide
step 1 is the ubuntu ones, step 2 is the ati ones. if you want to install step one which I think should fix the problem, although im not sure performance wise how they compare (id think they arent too different), you need to first uninstall "linux-restricted-modules-$(uname -r)", and "xorg-driver-fglrx" and reboot. Then follow the instructions for step 1.