Re: Finding Library Dependencies - MxEasy Security Camera Software
On Tuesday 10 May, 2011 08:43:19 Bob McGowan wrote: > You want to use: > > $ ldd filename # or libfilename.so or /full/path/lib/libfilename.so Begorrah! It worked. All libraries are installed, but still no video. # ldd MxEasy linux-vdso.so.1 => (0x7fff753ff000) libmxm.so.1 => ./libmxm.so.1 (0x7fe161f99000) libMxCore.so.1 => ./libMxCore.so.1 (0x7fe161d57000) libCore.so.1 => ./libCore.so.1 (0x7fe161b2d000) libStreaming.so.1 => ./libStreaming.so.1 (0x7fe16185d000) libMxPP.so.6 => ./libMxPP.so.6 (0x7fe160e2f000) libmxmUnirec.so.1 => ./libmxmUnirec.so.1 (0x7fe160bd1000) libMxCodec.so.1 => ./libMxCodec.so.1 (0x7fe160952000) libAudio.so.1 => ./libAudio.so.1 (0x7fe160702000) libspeexdsp.so.1 => ./libspeexdsp.so.1 (0x7fe1604ee000) libspeex.so.1 => ./libspeex.so.1 (0x7fe1602d4000) libportaudio.so.2 => ./libportaudio.so.2 (0x7fe1600a8000) libportaudiocpp.so.0 => ./libportaudiocpp.so.0 (0x7fe15fe97000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x7fe15fc25000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x7fe15f88) libGenericUtilities.so.1 => ./libGenericUtilities.so.1 (0x7fe15f61d000) libdnet.so.1 => ./libdnet.so.1 (0x7fe15f40c000) libNetworkIpUtils.so.1 => ./libNetworkIpUtils.so.1 (0x7fe15f1fa000) libNetworkHttp.so.1 => ./libNetworkHttp.so.1 (0x7fe15ef81000) libNetworkSsl.so.1 => ./libNetworkSsl.so.1 (0x7fe15ed16000) libIO.so.1 => ./libIO.so.1 (0x7fe15eaec000) libxslt.so.1 => /usr/lib/libxslt.so.1 (0x7fe15e8af000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x7fe15e558000) libFileFormatsXml.so.1 => ./libFileFormatsXml.so.1 (0x7fe15e346000) libFileFormatsPreferences.so.1 => ./libFileFormatsPreferences.so.1 (0x7fe15e13d000) libFileFormatsZip.so.1 => ./libFileFormatsZip.so.1 (0x7fe15df26000) libz.so.1 => /usr/lib/libz.so.1 (0x7fe15dd0f000) libminizip.so.1 => ./libminizip.so.1 (0x7fe15db06000) libNetworkBonjour.so.1 => ./libNetworkBonjour.so.1 (0x7fe15d8f1000) libqt-service.so.1 => ./libqt-service.so.1 (0x7fe15d6e) libGUIBaseDialogs.so.1 => ./libGUIBaseDialogs.so.1 (0x7fe15d431000) libNetworkMail.so.1 => ./libNetworkMail.so.1 (0x7fe15d212000) libGUIBaseWidgets.so.1 => ./libGUIBaseWidgets.so.1 (0x7fe15cf95000) libGUIBaseUtils.so.1 => ./libGUIBaseUtils.so.1 (0x7fe15cd22000) libFileFormatsMobotix.so.1 => ./libFileFormatsMobotix.so.1 (0x7fe15caed000) libGUIBaseDevices.so.1 => ./libGUIBaseDevices.so.1 (0x7fe15c8e1000) libExportGui.so.1 => ./libExportGui.so.1 (0x7fe15c662000) libunirec.so.1 => ./libunirec.so.1 (0x7fe15c3f8000) libFileFormatsJpeg.so.1 => ./libFileFormatsJpeg.so.1 (0x7fe15c1f1000) libStreamingEngine.so.1 => ./libStreamingEngine.so.1 (0x7fe15bf86000) libImageProcessing.so.1 => ./libImageProcessing.so.1 (0x7fe15bd41000) libNodeDB.so.1 => ./libNodeDB.so.1 (0x7fe15bac9000) libNodeDriverBase.so.1 => ./libNodeDriverBase.so.1 (0x7fe15b64c000) libVideoWidgets.so.1 => ./libVideoWidgets.so.1 (0x7fe15b3a5000) libEventDB.so.1 => ./libEventDB.so.1 (0x7fe15b14c000) libFileFormatsSql.so.1 => ./libFileFormatsSql.so.1 (0x7fe15af1d000) libsqlite.so.3 => ./libsqlite.so.3 (0x7fe15aca) libFileFormatsJson.so.1 => ./libFileFormatsJson.so.1 (0x7fe15aa93000) libyajl.so.1 => ./libyajl.so.1 (0x7fe15a88b000) libEventBase.so.1 => ./libEventBase.so.1 (0x7fe15a661000) libAVIEncoder.so.1 => ./libAVIEncoder.so.1 (0x7fe159b19000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x7fe159909000) libComponentBricks.so.1 => ./libComponentBricks.so.1 (0x7fe159598000) libNodeDBUI.so.1 => ./libNodeDBUI.so.1 (0x7fe15933c000) libEventDBGui.so.2 => ./libEventDBGui.so.2 (0x7fe1590fb000) libEventDispatcher.so.1 => ./libEventDispatcher.so.1 (0x7fe158ed6000) libPostVM.so.0 => ./libPostVM.so.0 (0x7fe158cbe000) libEventExplorer.so.0 => ./libEventExplorer.so.0 (0x7fe158a8a000) libPrintServices.so.1 => ./libPrintServices.so.1 (0x7fe1587f) libConfigDialogs.so.1 => ./libConfigDialogs.so.1 (0x7fe1585b5000) libSoftwareUpdateClient.so.1 => ./libSoftwareUpdateClient.so.1 (0x7fe158368000) libMxConfigCenter.so.2 => ./libMxConfigCenter.so.2 (0x7fe157ff2000) libMxParser.so.1 => ./libMxParser.so.1 (0x7fe157dd1000) libQtScript.so.4 => ./libQtScript.so.4 (0x7fe1579a7000) libQtSql.so.4 => ./libQtSql.so.4 (0x7fe157766000) libQtXml.so.4 => ./libQtXml.so.4 (0x7fe15751e000)
Re: Finding Library Dependencies - MxEasy Security Camera Software
On 05/09/2011 05:19 AM, cac...@quantum-sci.com wrote: > On Sunday 8 May, 2011 08:27:27 godo wrote: >> it's happened sometimes that some package missing in testing or sid but >> from my experience it will come in few days or week. >> >> If you are in hurry try with sid version and if there is not to much >> dependencies I think it wont be a problem. > > I've found libsdl1.2debian-all in Ubuntu Natty, which this software was > packaged for, and the only two operative files in it are: > /usr/lib/libSDL-1.2.so.0 > /usr/lib/libSDL-1.2.so.0.11.3 > > There is a libsdl1.2debian-all for Debian Testing, which I'm running, but > it's not built for amd64 yet. There is a libsdl1.2debian-all for squeeze, > and it has exactly what Natty's has. > > And the kicker is that libsdl1.2debian (no -all) which I have installed, has > these exact files with these exact names as well. So I think the software is > looking for the package name with -all, and when it doesn't find it it fails. > I overrode dependencies and installed it anyway, but inexplicably it does > everything but show video. > > There is a way to determine what libraries are required by an executable, but > I don't remember what it is. > > You want to use: $ ldd filename # or libfilename.so or /full/path/lib/libfilename.so The output will look something like this: linux-gate.so.1 => (0xb76f4000) libclntsh.so.11.1 => not found libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7557000) /lib/ld-linux.so.2 (0xb76f5000) Notice here that the second library is "not found". If you see this, search for the not found file and put its absolute directory path in LD_LIBRARY_PATH and repeat the command. For any library used that is not found in a "standard" location (minimally /lib:/usr/lib but may include /usr/local/lib), repeat the ldd on that library to be sure its dependencies are resolved. -- Bob McGowan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dc95d17.7090...@symantec.com
Re: Finding Library Dependencies - MxEasy Security Camera Software
And the kicker is that libsdl1.2debian (no -all) which I have installed, has these exact files with these exact names as well. So I think the software is looking for the package name with -all, and when it doesn't find it it fails. I overrode dependencies and installed it anyway, but inexplicably it does everything but show video. There is a way to determine what libraries are required by an executable, but I don't remember what it is. If you run executable through shell I think it show you where is the problem. So if app name is 'mxeasy': $ /usr/bin/mxeasy and it should be wright every step. Does MxEasy maybe need any extra video codec? -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ Registered Linux User #503414 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dc7f465.4070...@dobosevic.com
Re: Finding Library Dependencies - MxEasy Security Camera Software
On Sunday 8 May, 2011 08:27:27 godo wrote: > it's happened sometimes that some package missing in testing or sid but > from my experience it will come in few days or week. > > If you are in hurry try with sid version and if there is not to much > dependencies I think it wont be a problem. I've found libsdl1.2debian-all in Ubuntu Natty, which this software was packaged for, and the only two operative files in it are: /usr/lib/libSDL-1.2.so.0 /usr/lib/libSDL-1.2.so.0.11.3 There is a libsdl1.2debian-all for Debian Testing, which I'm running, but it's not built for amd64 yet. There is a libsdl1.2debian-all for squeeze, and it has exactly what Natty's has. And the kicker is that libsdl1.2debian (no -all) which I have installed, has these exact files with these exact names as well. So I think the software is looking for the package name with -all, and when it doesn't find it it fails. I overrode dependencies and installed it anyway, but inexplicably it does everything but show video. There is a way to determine what libraries are required by an executable, but I don't remember what it is. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201105090519.16650.cac...@quantum-sci.com
Re: Finding Library Dependencies - MxEasy Security Camera Software
I looked for libsdl1.2debian-all in Debian's packages and found it in Squeeze and Sid, but not Testing. Technically this MxEasy package is for Ubuntu, but I've never had a problem like this before. I know there is a way to check an app to find out what libs it's calling for, but I can't remember how. Can anyone advise? Hi, it's happened sometimes that some package missing in testing or sid but from my experience it will come in few days or week. If you are in hurry try with sid version and if there is not to much dependencies I think it wont be a problem. -- Bye, Goran Dobosevic Hrvatski: www.dobosevic.com English: www.dobosevic.com/en/ Registered Linux User #503414 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dc6b65f.7000...@dobosevic.com
Re: Finding Library Dependencies - MxEasy Security Camera Software
On Sun, May 08, 2011 at 07:35:56AM -0700, cac...@quantum-sci.com wrote: > > I am trying to install Mobotix's MxEasy security camera software, but it's > refusing for dependency: > [cut] > > I know there is a way to check an app to find out what libs it's calling for, > but I can't remember how. > > Can anyone advise? > Probably your package is built for an older version of Debian. Generally speaking, when installing a third-party .deb, I tend to do "dpkg -i foo.deb" followed by "apt-get -f install". This latter command runs the package resolver and should pull in all the dependencies automatically. Sometimes, though, you may find that apt-get's suggestion is to try to remove the package you've just installed. That would imply that the package isn't compatible with your debian and you need to either look at rebuilding it or maybe do some equivs magic. signature.asc Description: Digital signature
Finding Library Dependencies - MxEasy Security Camera Software
I am trying to install Mobotix's MxEasy security camera software, but it's refusing for dependency: # dpkg -i /home/bill/dl/MxEasy_1.3.2-ubuntu-10.10_amd64.deb Selecting previously deselected package mxeasy. (Reading database ... 135273 files and directories currently installed.) Unpacking mxeasy (from .../MxEasy_1.3.2-ubuntu-10.10_amd64.deb) ... dpkg: dependency problems prevent configuration of mxeasy: mxeasy depends on libsdl1.2debian-all (>= 1.2.13); however: Package libsdl1.2debian-all is not installed. dpkg: error processing mxeasy (--install): dependency problems - leaving unconfigured Errors were encountered while processing: mxeasy # apt-get install libsdl1.2debian-all Reading package lists... Done Building dependency tree Reading state information... Done Package libsdl1.2debian-all is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libsdl1.2debian-alsa libsdl1.2debian E: Package 'libsdl1.2debian-all' has no installation candidate # apt-get install libsdl1.2debian-alsa Reading package lists... Done Building dependency tree Reading state information... Done Package libsdl1.2debian-alsa is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libsdl1.2debian-all libsdl1.2debian E: Package 'libsdl1.2debian-alsa' has no installation candidate # I have libsdl1.2debian installed. I went ahead and bypassed dependencies with --force-deps and it installed, but there is no picture I presume because of the absence of something in DirectShow. I looked for libsdl1.2debian-all in Debian's packages and found it in Squeeze and Sid, but not Testing. Technically this MxEasy package is for Ubuntu, but I've never had a problem like this before. I know there is a way to check an app to find out what libs it's calling for, but I can't remember how. Can anyone advise? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201105080735.57212.cac...@quantum-sci.com