LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [Debian Squeeze] Installing neroAacEnc (https://www.linuxquestions.org/questions/linux-software-2/%5Bdebian-squeeze%5D-installing-neroaacenc-924429/)

sbocquet 01-18-2012 09:13 AM

[Debian Squeeze] Installing neroAacEnc
 
Hi all,

I'm trying to use neroAacEnc.
I downloaded the zip from Nero web site, unzipped it and installed the three "exec" in /usr/bin with this command :

# install -D -m755 neroAacEnc /usr/bin
# install -D -m755 neroAacDec /usr/bin
# install -D -m755 neroAacTag /usr/bin

But when I try to use it, I have this error :
neroAacEnc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Can't understand why as I have these lib installed.
# ls -al /usr/lib/libstdc++*
lrwxrwxrwx 1 root root 19 Jun 22 2011 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.13
-rw-r--r-- 1 root root 1043976 Nov 15 2010 /usr/lib/libstdc++.so.6.0.13

Seems that some lib are missing for neroAacEnc...
# ldd -v neroAacEnc
linux-gate.so.1 => (0xf774f000)
libstdc++.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0xf771f000)
libgcc_s.so.1 => not found
libc.so.6 => /lib32/libc.so.6 (0xf75d7000)
/lib/ld-linux.so.2 (0xf7750000)

Version information:
./neroAacEnc:
libstdc++.so.6 (CXXABI_1.3.1) => not found
libstdc++.so.6 (CXXABI_1.3) => not found
libstdc++.so.6 (GLIBCXX_3.4) => not found
libm.so.6 (GLIBC_2.1) => /lib32/libm.so.6
libm.so.6 (GLIBC_2.0) => /lib32/libm.so.6
libgcc_s.so.1 (GCC_3.0) => not found
libgcc_s.so.1 (GLIBC_2.0) => not found
libc.so.6 (GLIBC_2.4) => /lib32/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib32/libc.so.6
libc.so.6 (GLIBC_2.3.4) => /lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib32/libc.so.6
/lib32/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib32/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib32/libc.so.6
/lib32/libc.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2


I'm not a debian expert, so any idea how to resolve this ?

AlucardZero 01-18-2012 10:37 AM

Is neroAacEnc a 64-bit or 32-bit binary (file neroAacEnc) ?

Are you running a 64-bit or 32-bit system?

sbocquet 01-18-2012 01:59 PM

Hi,

My debian is a 64 bits intel/amd version, but I don't know for Nero AAC, and unfortunatly nothing is said in the release note (http://www.nero.com/eng/downloads-ne...-aac-codec.php).

Speek 01-18-2012 03:29 PM

I think it will work if you install lib32stdc++6 . That will also pull in lib32gcc1 and those two packages contain the missing files. (I found this with the Debian package browser: http://www.debian.org/distrib/packages )

AlucardZero 01-18-2012 03:55 PM

If you run
Code:

file neroAacEnc
it will tell you/me.

I am driving at you running a 64-bit system and having the 64-bit libraries installed, but NOT having the 32-bit compatibility libraries installed, and the binary being 32-bit.

sbocquet 01-19-2012 03:25 AM

You were right. Thanks a lot for your help.

# file neroAacEnc
neroAacEnc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

Will try to install those 32 bits libs.

EDIT:

# apt-get install lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
lib32gcc1 libc6-i386
The following NEW packages will be installed:
lib32gcc1 lib32stdc++6 libc6-i386
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,208 kB of archives.
After this operation, 10.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.fr.debian.org/debian/ squeeze/main libc6-i386 amd64 2.11.2-10 [3,805 kB]
Get:2 http://ftp.fr.debian.org/debian/ squeeze/main lib32gcc1 amd64 1:4.4.5-8 [55.2 kB]
Get:3 http://ftp.fr.debian.org/debian/ squeeze/main lib32stdc++6 amd64 4.4.5-8 [347 kB]
Fetched 4,208 kB in 9s (443 kB/s)
Selecting previously deselected package libc6-i386.
(Reading database ... 32062 files and directories currently installed.)
Unpacking libc6-i386 (from .../libc6-i386_2.11.2-10_amd64.deb) ...
Selecting previously deselected package lib32gcc1.
Unpacking lib32gcc1 (from .../lib32gcc1_1%3a4.4.5-8_amd64.deb) ...
Selecting previously deselected package lib32stdc++6.
Unpacking lib32stdc++6 (from .../lib32stdc++6_4.4.5-8_amd64.deb) ...
Setting up libc6-i386 (2.11.2-10) ...
Setting up lib32gcc1 (1:4.4.5-8) ...
Setting up lib32stdc++6 (4.4.5-8) ...

# neroAacEnc
*************************************************************
* *
* Nero AAC Encoder *
* Copyright 2009 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 18 2010 *
* Package version: 1.5.4.0 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************


All times are GMT -5. The time now is 11:58 AM.