Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Fedora 5 problem

Onyx Rutabaga
Registered User
Join date: 20 Mar 2006
Posts: 2
04-10-2006 10:17
Hi,

I am running Fedora 5 and get the follwing error message when trying to run SL:

bin/secondlife-bin: error while loading shared libraries: lib/libfreetype.so.6: cannot restore segment prot after reloc: Permission denied

Thanks.
Vinci Calamari
Free Software Promoter
Join date: 27 Feb 2006
Posts: 192
04-10-2006 14:22
From: Onyx Rutabaga
Hi,

I am running Fedora 5 and get the follwing error message when trying to run SL:

bin/secondlife-bin: error while loading shared libraries: lib/libfreetype.so.6: cannot restore segment prot after reloc: Permission denied


You should run the script ./secondlife and NOT ./bin/secondlife-bin !


Vinci
_____________________
The SecondTux Linux User Wiki:
http://stux.wikiinfo.org
Sem Wormser
Registered User
Join date: 7 Apr 2006
Posts: 1
04-12-2006 09:36
It's an selinux issue, as root try before you start the program
/usr/sbin/setenforce 0
then
/usr/sbin/setenforce 1
to put it back again

hth.
bigfatdad Senior
Registered User
Join date: 18 Apr 2006
Posts: 1
04-18-2006 14:41
Hi, this is my output of ./senconlife inside ferora 5:
Cut <>
2006-04-18T21:33:42Z INFO: Memory info:
2006-04-18T21:33:42Z MemTotal: 1025536 kB MemFree: 86364 kB Buffers: 30028 kB Cached: 681284 kB SwapCached: 0 kB Active: 490432 kB Inactive: 364324 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 1025536 kB LowFree: 86364 kB SwapTotal: 2152668 kB SwapFree: 2152668 kB Dirty: 184 kB Writeback: 0 kB Mapped: 226100 kB Slab: 53140 kB CommitLimit: 2665436 kB Committed_AS: 397164 kB PageTables: 11060 kB VmallocTotal: 34359738367 kB VmallocUsed: 264192 kB VmallocChunk: 34359473883 kB HugePages_Total: 0 HugePages_Free: 0 Hugepagesize: 2048 kB
2006-04-18T21:33:42Z INFO: OS info: Linux 2.6.15-1.2054_FC5 #1 SMP Tue Mar 14 15:48:20 EST 2006 x86_64
2006-04-18T21:33:42Z INFO: Loading feature tables.
LLErrorStream::crashOnError() failed to get mutex for log
LLErrorStream::crashOnError() failed to get mutex for log
LLErrorStream::crashOnError() failed to get mutex for log
2006-04-18T21:33:42Z INFO: Using configuration file /root/SecondLife_1_9_0_21/SecondLife/user_settings/settings.ini
2006-04-18T21:33:42Z INFO: LLControlGroup::loadFromFile unable to open.
2006-04-18T21:33:42Z INFO: LLControlGroup::loadFromFile unable to open.
2006-04-18T21:33:42Z INFO: Loading art table from viewerart.ini
2006-04-18T21:33:42Z INFO: Loading base colors from colors_base.ini
2006-04-18T21:33:42Z INFO: Loading user colors from colors.ini
2006-04-18T21:33:43Z INFO: Default vfs data file not present, found /root/SecondLife_1_9_0_21/SecondLife/cache/index.db2.x.953917809
2006-04-18T21:33:43Z INFO: Old salt: 953917809
2006-04-18T21:33:43Z INFO: Renaming /root/SecondLife_1_9_0_21/SecondLife/cache/index.db2.x.953917809 to /root/SecondLife_1_9_0_21/SecondLife/cache/data.db2.x.2087230453
2006-04-18T21:33:43Z INFO: Renaming /root/SecondLife_1_9_0_21/SecondLife/cache/index.db2.x.953917809 to /root/SecondLife_1_9_0_21/SecondLife/cache/index.db2.x.2087230453
2006-04-18T21:33:43Z INFO: VFS: Using index file /root/SecondLife_1_9_0_21/SecondLife/cache/index.db2.x.2087230453 and data file /root/SecondLife_1_9_0_21/SecondLife/cache/data.db2.x.2087230453
2006-04-18T21:33:43Z INFO: VFS: Using index file /root/SecondLife_1_9_0_21/app_settings/static_index.db2 and data file /root/SecondLife_1_9_0_21/app_settings/static_data.db2
2006-04-18T21:33:43Z INFO: Initializing window...
2006-04-18T21:33:43Z INFO: createContext: creating window 800x600x32
2006-04-18T21:33:43Z INFO: createContext: window creation failure. SDL: Couldn't find matching GLX visual
2006-04-18T21:33:43Z INFO: Unloading all GL symbols...
2006-04-18T21:33:43Z WARNING: OSMessageBox: Window creation error
2006-04-18T21:33:43Z INFO: Unloading all GL symbols...
2006-04-18T21:33:43Z WARNING: LLWindowManager::create() : Error creating window.
2006-04-18T21:33:43Z WARNING: Unable to create window, be sure screen is set at 32-bit color in Control Panels->Display->Settings
2006-04-18T21:33:43Z INFO: remove_marker_file()

what can I do?

TIA
Evaristo
MC Seattle
Registered User
Join date: 3 Apr 2006
Posts: 63
04-18-2006 15:49
From: bigfatdad Senior
2006-04-18T21:33:43Z INFO: createContext: window creation failure. SDL: Couldn't find matching GLX visual


Start by enabling accelerated rendering in X. Follow a tutorial online that is specific to your distribution and video card, and check to make sure it is working by referencing the output of the glxinfo command with a proper looking output you can find online.
Kyle Galbraith
Registered User
Join date: 24 Apr 2006
Posts: 3
db4 on Fedora Core 5
04-24-2006 12:36
When trying to run SL on Fedora Core 5, I get the following error. I have
/usr/lib/libdb-4.3.so installed and don't want to downgrade if possible.

bin/secondlife-bin: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory

any thoughts or ideas would be greatly appreciated.
Thanks
Kyle
Alison Hamsun
Registered User
Join date: 17 Dec 2005
Posts: 6
Symbolic Links
04-24-2006 13:25
Kyle,
I had the same problem, I just made a symbolic link to the newer library, and it worked like a charm for me.

# ln -s /usr/lib/libdb-4.2.so /usr/lib/libdb-4.3.so

Good Luck!

Alison
Kyle Galbraith
Registered User
Join date: 24 Apr 2006
Posts: 3
Thanks!
04-24-2006 14:04
From: Alison Hamsun
Kyle,
I had the same problem, I just made a symbolic link to the newer library, and it worked like a charm for me.

# ln -s /usr/lib/libdb-4.2.so /usr/lib/libdb-4.3.so

Good Luck!

Alison



Alison,
Thanks! Boy do I feel like a dolt for not doing that up front :-)
Cheers,
Kyle
Neopallium Granville
Registered User
Join date: 15 Mar 2006
Posts: 1
Another selinux fix
07-04-2006 14:41
From: Sem Wormser
It's an selinux issue, as root try before you start the program
/usr/sbin/setenforce 0
then
/usr/sbin/setenforce 1
to put it back again

hth.

instead of disabling selinux you can change the type in the security context of the libraries.
run this command to change the context type of the libraries:
chcon -t textrel_shlib_t lib/lib*

Details about why the libraries fail to load on FC5:
http://fedora.redhat.com/docs/selinux-faq-fc5/#faq-entry-unconfined_t