Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installazione vlc [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Wed Mar 07, 2007 8:15 pm    Post subject: Installazione vlc [Risolto] Reply with quote

Durante l'installazione di vlc, mi viene dato un errore che non capisco:
Code:
...
/usr/lib64/libvlc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `libdvb_plugin.la' with the above command before installing it
make[9]: *** [install-libvlcLTLIBRARIES] Error 1
make[9]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[8]: *** [install-exec-local] Error 2
make[8]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[7]: *** [install-am] Error 2
make[7]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[6]: *** [install-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[5]: *** [install] Error 2
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6'
make: *** [install] Error 2

!!! ERROR: media-video/vlc-0.8.6-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 4056:   Called src_install
  vlc-0.8.6-r1.ebuild, line 269:   Called die

!!! make install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/vlc-0.8.6-r1/temp/build.log'.

Qualcuno sa come poterlo risolvere?
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)


Last edited by canduc17 on Thu Mar 08, 2007 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Mar 07, 2007 8:51 pm    Post subject: Reply with quote

Quote:
collect2: ld returned 1 exit status
libtool: install: error: relink `libdvb_plugin.la' with the above command before installing it


hai già provato il fix di libtool?
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Wed Mar 07, 2007 8:54 pm    Post subject: Reply with quote

Cioè? Devo riemergere libtool?
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
Deus Ex
Guru
Guru


Joined: 16 Nov 2005
Posts: 489
Location: Patavium

PostPosted: Wed Mar 07, 2007 9:26 pm    Post subject: Reply with quote

canduc17 wrote:
Cioè? Devo riemergere libtool?


no, ma usare
Code:
/sbin/fix_libtool_files.sh

_________________
Deus Ex
--
L’inflazione che caccia nelle mani dell’individuo, in un gesto solo, miliardi di marchi, lasciandolo più miserabile di prima, dimostra punto per punto che il denaro è un’allucinazione collettiva.
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Thu Mar 08, 2007 1:22 pm    Post subject: Reply with quote

Allora:
Code:
candooc canduc # /sbin/fix_libtool_files.sh
Usage: fix_libtool_files.sh <old-gcc-version> [--oldarch <old-CHOST>]

    Where <old-gcc-version> is the version number of the
    previous gcc version.  For example, if you updated to
    gcc-3.2.1, and you had gcc-3.2 installed, run:

      # fix_libtool_files.sh 3.2

    If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu
    but you now have CHOST as i686-pc-linux-gnu, run:

      # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu

    Note that if only the CHOST and not the version changed, you can run
    it with the current version and the '--oldarch <old-CHOST>' arguments,
    and it will do the expected:

      # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu

Io ho provato con la prima opzione, visto che non ho mai modificato la CHOST (che è x86_64-pc-linux-gnu)...
Però non so che versione di gcc avevo prima (ora ho la 4.1.1-r1) e quindi ho dato il comando un po' a caso:
Code:
/sbin/fix_libtool_files.sh 4.0

Dopo, ho riprovato ed emergere vlc, ma
Code:
...
/usr/lib64/libvlc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `libdvb_plugin.la' with the above command before installing it
make[9]: *** [install-libvlcLTLIBRARIES] Error 1
make[9]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[8]: *** [install-exec-local] Error 2
make[8]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[7]: *** [install-am] Error 2
make[7]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[6]: *** [install-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[5]: *** [install] Error 2
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access/dvb'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules/access'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6-r1/work/vlc-0.8.6'
make: *** [install] Error 2

!!! ERROR: media-video/vlc-0.8.6-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 4056:   Called src_install
  vlc-0.8.6-r1.ebuild, line 269:   Called die

!!! make install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/vlc-0.8.6-r1/temp/build.log'.

Come faccio a sapere che versione di gcc avevo installato prima dell'aggiornamento?
E se la mia CHOST è cambiata (ma non l'ho cambiata io!), come faccio a sapere quale avevo prima?
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Thu Mar 08, 2007 2:03 pm    Post subject: Reply with quote

@canduc17

sicuramente prima dell'aggiornamento avevi l'ultima versione stabile di gcc, ovvero gcc-3.4.6-r2, o almeno questa dovevi avere, per le CHOST, beh da sole non si modificano se non lo fai tu. quindi.... se tu dici che non lo hai fatto erano quelle anche prima.

ciao
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Thu Mar 08, 2007 2:11 pm    Post subject: Reply with quote

C'è un bug (link) riguardo a questo problema, dicono che si verifica solo su AMD64, in pratica il processo di compilazione di vlc prova a linkare alle vecchie librerie, invece che a quelle nuove.
Tra le soluzione temporanee dicono di rimuovere vlc e reinstallarlo. Prova così e facci sapere!
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Thu Mar 08, 2007 2:54 pm    Post subject: Reply with quote

Scen, grazie mille. :D :D :D
Dopo aver disinstallato il vecchio vlc, l'emersione di quello nuovo è stata una passeggiata!
Ciao!
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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