Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Commercial app working in Fedora but not in Gentoo. Why?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
genmich
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 196

PostPosted: Thu Jul 29, 2010 6:06 pm    Post subject: Commercial app working in Fedora but not in Gentoo. Why? Reply with quote

Hi,
I'm testing the 2010 version of the commercial app "Autodesk Softimage" (3D application) under linux at the moment. I had an older version running under linux some years ago but the newest version won't work correctly. Strange thing is that it works under fedora 12/13. The proble is that it will crash with a seg. fault when opening files (gentoo). In Fedora its working. BTW i've tested ubuntu too and its the same error as in gentoo: opening a file -> crash/seg. fault

Is there any main difference between fedora and gentoo in terms of harddrive access?

Thanks
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7233
Location: almost Mile High in the USA

PostPosted: Thu Jul 29, 2010 8:21 pm    Post subject: Reply with quote

This happens a lot. Usually it's due to commercial software *requiring* a certain version of a shared library(for general software) or a specific version of the kernel (for kernel drivers).

Finding out which one can be difficult.

This is the reason why no commercial software wants to develop for Gentoo specifically, there are too many versions of software available and checking each one would produce more robust software... but why make robust software when it works fine under Redhat?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
genmich
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 196

PostPosted: Fri Jul 30, 2010 10:45 pm    Post subject: Reply with quote

thanks for the answer!
Is there a good way to find out which librarys are used? I've already sent an strace output and a valgrind dump to the technical support but they couldn't find out what the problem is. Like i said, it seems to be something in the file access. The program works till the point i want to open a file.
Back to top
View user's profile Send private message
Smart1
n00b
n00b


Joined: 16 May 2007
Posts: 66

PostPosted: Sat Jul 31, 2010 12:55 am    Post subject: Reply with quote

Probe with

ldd /path/to/Yours/app :lol:
_________________
http://www.gentoo.org/ http://www.sysresccd.org/ http://www.linuxquestions.org/

Registered Linux user: #130654 http://counter.li.org
Back to top
View user's profile Send private message
genmich
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 196

PostPosted: Sat Jul 31, 2010 10:16 am    Post subject: Reply with quote

ok. that looks like this:

fedora (working)
Code:
linux-vdso.so.1 =>  (0x00007fffeedff000)
libadlmint.so.1 => /usr/Softimage/Softimage_2011_SP1/Application/bin/libadlmint.so.1 (0x00007f4036595000)
libctrls.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libctrls.so (0x00007f403633a000)
libsisdkplugin.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsisdkplugin.so (0x00007f4036111000)
libscripthost.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libscripthost.so (0x00007f4035ed9000)
libsisdk.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsisdk.so (0x00007f4035c65000)
libdscore.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libdscore.so (0x00007f4035a0b000)
libctrl.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libctrl.so (0x00007f403578d000)
libdsctl10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libdsctl10.so (0x00007f4035458000)
libcts.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libcts.so (0x00007f40351a7000)
libmfbas10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libmfbas10.so (0x00007f4034e68000)
libdssdk10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libdssdk10.so (0x00007f4034a44000)
libspdlparse.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libspdlparse.so (0x00007f4034803000)
libilcor10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libilcor10.so (0x00007f4034361000)
libsixmlparse.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsixmlparse.so (0x00007f4034129000)
libolepro32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libolepro32.so (0x00007f4034026000)
libgk10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libgk10.so (0x00007f4033c81000)
libsigeneral.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsigeneral.so (0x00007f4033a27000)
libstub.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libstub.so (0x00007f4033823000)
liboleaut32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/liboleaut32.so (0x00007f40335d9000)
libmfc400s.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libmfc400s.so (0x00007f4033262000)
libsialloc.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsialloc.so (0x00007f4033056000)
liburlmon.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/liburlmon.so (0x00007f4032e62000)
libwininet.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libwininet.so (0x00007f4032c96000)     
libole32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libole32.so (0x00007f40329d0000)         
librpcrt4.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/librpcrt4.so (0x00007f4032809000)       
libversion.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libversion.so (0x00007f40326fc000)
libshell32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libshell32.so (0x00007f4032515000)
libcomctl32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libcomctl32.so (0x00007f4032364000)             
libshlwapi.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libshlwapi.so (0x00007f40321d4000)               
libuuid.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libuuid.so (0x00007f40320a9000)
libwsock32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libwsock32.so (0x00007f4031f96000)                   
libmsvcrt.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libmsvcrt.so (0x00007f4031e73000)
libgdiuser32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libgdiuser32.so (0x00007f4031afd000)
libadvapi32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libadvapi32.so (0x00007f40319c4000)
libkernel32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libkernel32.so (0x00007f4031773000)
libGL.so.1 => /usr/lib64/libGL.so.1 (0x00000038bec00000)
libz.so.1 => /lib64/libz.so.1 (0x00000038a8000000)
libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x0000003142800000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00000038aa400000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003140400000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038a7400000)
libstdc++.so.6 => /usr/Softimage/Softimage_2011_SP1/Application/bin/libstdc++.so.6 (0x00007f403144b000)
libm.so.6 => /lib64/libm.so.6 (0x00000038a7800000)
libc.so.6 => /lib64/libc.so.6 (0x00000038a6c00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000038a9800000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000038a7000000)
librt.so.1 => /lib64/librt.so.1 (0x00000038a7c00000)
liblinktab.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/liblinktab.so (0x00007f4031241000)
libxerces-c.so.27 => /usr/Softimage/Softimage_2011_SP1/Application/bin/libxerces-c.so.27 (0x00007f4030d1a000)
/lib64/ld-linux-x86-64.so.2 (0x00000038a6800000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00000038aa800000)
libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x0000003142c00000)
libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00000038bd200000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00000038b0000000)
libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00000038bd600000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00000038aa000000)


gentoo (crash on opening files):
Code:
linux-vdso.so.1 =>  (0x00007fffdc1ff000)
libadlmint.so.1 => /usr/Softimage/Softimage_2011_SP1/Application/bin/libadlmint.so.1 (0x00007f6547aa1000)
libctrls.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libctrls.so (0x00007f6547847000)
libsisdkplugin.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsisdkplugin.so (0x00007f654761e000)
libscripthost.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libscripthost.so (0x00007f65473e6000)
libsisdk.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsisdk.so (0x00007f6547173000)
libdscore.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libdscore.so (0x00007f6546f19000)
libctrl.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libctrl.so (0x00007f6546c9b000)
libdsctl10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libdsctl10.so (0x00007f6546967000)
libcts.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libcts.so (0x00007f65466b6000)
libmfbas10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libmfbas10.so (0x00007f6546377000)
libdssdk10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libdssdk10.so (0x00007f6545f54000)
libspdlparse.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libspdlparse.so (0x00007f6545d13000)
libilcor10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libilcor10.so (0x00007f6545871000)
libsixmlparse.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsixmlparse.so (0x00007f654563a000)
libolepro32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libolepro32.so (0x00007f6548056000)
libgk10.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libgk10.so (0x00007f6545295000)
libsigeneral.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsigeneral.so (0x00007f654503c000)
libstub.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libstub.so (0x00007f6544e38000)
liboleaut32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/liboleaut32.so (0x00007f6544bee000)
libmfc400s.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libmfc400s.so (0x00007f6544878000)
libsialloc.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/libsialloc.so (0x00007f654466c000)
liburlmon.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/liburlmon.so (0x00007f6544478000)
libwininet.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libwininet.so (0x00007f65442ad000)
libole32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libole32.so (0x00007f6543fe7000)
librpcrt4.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/librpcrt4.so (0x00007f6543e20000)
libversion.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libversion.so (0x00007f6543d14000)
libshell32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libshell32.so (0x00007f6543b2d000)
libcomctl32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libcomctl32.so (0x00007f654397d000)
libshlwapi.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libshlwapi.so (0x00007f65437ed000)
libuuid.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libuuid.so (0x00007f65436c2000)
libwsock32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libwsock32.so (0x00007f65435b0000)
libmsvcrt.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libmsvcrt.so (0x00007f654348d000)
libgdiuser32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libgdiuser32.so (0x00007f6543117000)
libadvapi32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libadvapi32.so (0x00007f6542fdf000)
libkernel32.so => /usr/Softimage/Softimage_2011_SP1/Application/mainwin/mw/lib-amd64_linux_optimized/libkernel32.so (0x00007f6542d8e000)
libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f6542a86000)
libz.so.1 => /lib/libz.so.1 (0x00007f6542870000)
libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00007f65425ff000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f65422bc000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f65420a9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f6541e8d000)
libstdc++.so.6 => /usr/Softimage/Softimage_2011_SP1/Application/bin/libstdc++.so.6 (0x00007f6541b86000)
libm.so.6 => /lib/libm.so.6 (0x00007f6541905000)
libc.so.6 => /lib/libc.so.6 (0x00007f65415ac000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f6541395000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f6541191000)
librt.so.1 => /lib/librt.so.1 (0x00007f6540f88000)
liblinktab.so => /usr/Softimage/Softimage_2011_SP1/Application/bin/liblinktab.so (0x00007f6540d82000)
libxerces-c.so.27 => /usr/Softimage/Softimage_2011_SP1/Application/bin/libxerces-c.so.27 (0x00007f654085c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6547f42000)
libnvidia-tls.so.256.35 => //usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.256.35 (0x00007f654065a000)
libnvidia-glcore.so.256.35 => /usr/lib64/libnvidia-glcore.so.256.35 (0x00007f653ec6d000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f653ea69000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f653e863000)


it seems libz, libpthread, libm, libc, libgcc_s,libdl, librt link to lib instead of lib64
and fedora got
Quote:
libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x0000003142c00000)
libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00000038bd200000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00000038b0000000)
libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00000038bd600000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00000038aa000000)


while gentoo got
Quote:
libnvidia-tls.so.256.35 => //usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.256.35 (0x00007f654065a000)
libnvidia-glcore.so.256.35 => /usr/lib64/libnvidia-glcore.so.256.35 (0x00007f653ec6d000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f653e863000)


which is strange because i'm using the nvidia driver on both systems.
I'll check what happens if i'll copy/link the files to the gentoo system
Back to top
View user's profile Send private message
genmich
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 196

PostPosted: Fri Aug 06, 2010 5:50 pm    Post subject: Reply with quote

still no luck :(
perhaps there is someone with strace experience that can have a look at:
Working Fedora strace output
Not working Gentoo strace output
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7233
Location: almost Mile High in the USA

PostPosted: Fri Aug 06, 2010 5:53 pm    Post subject: Reply with quote

Install a RH chroot and see if it works there...
strace output may not be clear as to what the problem is, really...need to really use a debugger...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
genmich
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 196

PostPosted: Sat Aug 07, 2010 9:29 am    Post subject: Reply with quote

I've tried it like this "chroot /mnt/gentoo /bin/bash" and started the licence server and the program. It crashed when it tried to display the opengl viewports. Normally its a sign that the libGL driver couldn't be reached. Is there something I need to change when I try to use a 3D accelerated program in chroot?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9236
Location: beyond the rim

PostPosted: Sat Aug 07, 2010 12:20 pm    Post subject: Reply with quote

One thing I noticed in the Gentoo strace log is that at the end there are two munmap calls for the same address, not sure if that would cause a segfault or if it's even related. And obviously this could just as well be caused by one of the used libraries.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum