LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ldconfig back to normal/ causes problems with cedega (https://www.linuxquestions.org/questions/linux-software-2/ldconfig-back-to-normal-causes-problems-with-cedega-257374/)

brainlesspinkey 11-20-2004 05:28 PM

ldconfig back to normal/ causes problems with cedega
 
Hello,
When i installed wine, at the end of the install, it asked me to Add the line '/usr/local/lib' to /etc/ld.so.conf and run /sbin/ldconfig export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib So i did.

I was wondering how to undo this change, because i tried to install cedega, and it doesn't work. and i think it is because of this change. First cedega gave me the error 22 which i fixed doing that prelink trick. But, now it gives me
wine: Unhandled exception, starting debugger...
WineDbg starting on pid 3
No debug information in ELF '/usr/lib/transgaming_cedega//winex/bin/wine' (0x00000000)
Breakpoint 1 at 0x4100c770
No debug information in ELF '/usr/lib/transgaming_cedega//winex/pthread_lib/libntdll.so' (0xf6f00000)
and a bunch of other errors when i try to use cedega. I think it was because of doing the stuff i did at the end of the wine install, so how to i change things back to normal?
I am using fedora core 3

thanks,
-pinkey

ToniT 11-21-2004 07:56 AM

- modify the /etc/ld.so.conf by removing that line.
- run ldconfig

brainlesspinkey 11-21-2004 05:24 PM

thanks, that undid the change.
but cedega still doesn't work (sigh)
back to google i go.

brainlesspinkey 11-21-2004 10:21 PM

i have figured it out!!!!

Simple (as root, and must run always before running cedega):
echo 1 > /proc/sys/vm/legacy_va_layout

More complex (as root, but you only have to do it once)
add this too /etc/sysctl.conf :
# setting to fix wine and winex
vm.legacy_va_layout = 1
then run this :
sysctl -p


I found the answer on these sites:
http://transgaming.org/forum/viewtopic.php?t=712
http://www.fedoraforum.org/forum/arc...p/t-25483.html

kaplanfx 12-12-2004 03:15 PM

Thanks, I was having the same problem this was like the 3rd thread I came across after a google search and it fixed my problem perfectly. Good tip :)

-kaplanfx


All times are GMT -5. The time now is 07:46 AM.