Pular para o conteúdo principal

libstdc++

Esse problema me deu uma dor de cabeça desgraçada durantre a compilação de vários programas no Solaris 10 (Sparc).

Descriçao: Durante a compilação acontece o seguinte erro:

libstdc++.la is not a valid libtool archive

Solução: Depois de uma busca no google, achei dois sites com a solução:
1
2
Aparentemente os caras da Sun esqueceram de colocar o conteúdo dos arquivos libstdc++ (32 e 64 bits). Então a solução é editar os respectivos arquivos e adicionar o devido conteúdo:


/usr/sfw/lib/libstdc++.la
----
# libstdc++.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libstdc++.so.6'

# Names of this library.
library_names='libstdc++.so.6.0.3 libstdc++.so.6 libstdc++.so'

# The name of the static archive.
old_library='libstdc++.a'


# Libraries that this one depends upon.
dependency_libs='-lc -lm -L/usr/sfw/lib -lgcc_s'

# Version information for libstdc++.
current=6
age=0
revision=3


# Is this an already installed library?
installed=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''


# Directory that this library needs to be installed in:
libdir='/usr/sfw/lib'
----



e


/usr/sfw/lib/64/libstdc++.la
----
# libstdc++.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libstdc++.so.6'


# Names of this library.
library_names='libstdc++.so.6.0.3 libstdc++.so.6 libstdc++.so'

# The name of the static archive.
old_library='libstdc++.a'

# Libraries that this one depends upon.
dependency_libs='-L/lib/64 -lc -lm -L/usr/sfw/lib/64 -lgcc_s'


# Version information for libstdc++.
current=6
age=0
revision=3


# Is this an already installed library?
installed=yes


# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''


# Directory that this library needs to be installed in:
libdir='/usr/sfw/lib/64'
----

Comentários

  1. Solaris ?
    Pensei que você só usasse GNU/Linux... rs

    ResponderExcluir
  2. GNU/Linux ? tá aprendendo hein...
    Uso o Solaris 10 no NCE. É o SO oficial do Cluster NCE (que eu montei).
    Linux só em casa mesmo. E vc, já instalou ?

    ResponderExcluir

Postar um comentário

Postagens mais visitadas deste blog

Learning everything

Today I came across Liz Krane  on Google Plus - the girl that want's to learn everything. She reminded me of a idea for a project I had (that unfortunately never came out of my brain) that basically consists on a study of what is required in order to make Angola a better country. Basic things like education and related project, not tampered statistics generation, etc. If I remember correctly, the idea was to establish a period (maybe 1 year) and break that in parts so I would attack on problem at time so at the end of that period (year) a proper proposal for a better country could be presented. So, of course, like Liz, I don't know everything... no one does. But the beauty of this is exactly to learn and cross reference with other people about a give subject and try to come to practical  conclusions. In the process teach other people. ...Maybe I revive this idea. Along others I had when I was younger :) You can get more details on Ms. Krane project in her page .

Como a Adobe apoia a pirataria

Eu tentei mesmo me tornar um cidadão honesto das   Internets   e pagar pelos softwares que eu uso como fotógrafo (Adobe   Lightroom   e   Photoshop   principalmente)... mas a Adobe fez da minha vida um inferno. Veja porquê: Primeiro eu esperei o lançamento do Lr4 para pagar logo pela nova versão ao invés de comprar a versão 3 e ter que pagar para fazer o upgrade pra 3 logo em seguida. Como um bom cliente, fui até o site da adobe com o cartão de crédito em riste, pronto para desembolsar (ou desencartar) um dinheiro (US$149,00 para ser mais exato) naquele maravilhoso produto. Faço o  login,  sigo um milhão de links para chegar ate ao ponto de pagamento (aproveitei incluir o Photoshop CS5.1 no carrinho) e bum: Error in Your Order We’re sorry, but a system error occurred.   To complete your purchase immediately, please call Adobe Phone Sales at (800) 585-0774 to place your order, or try  Adobe.com  again. Depois de tentar inutilmente o processo uma tantas vezes, recorri ao bom e ve

Managing your money for free

So... today I took some time to finally decide (at least for the timebeing) between the two major - for me - options for personal financial management: Quicken (paid) and GNUCash (free). GNUCash I have installed and in use for a while and regarding functionality is just great. The problem is just... it is not that good looking. So I gave Quicken a shot . Downloaded a 'trial' version from my favorite usenet repository  and I was ready for the tests. Quicken is nice looking and can generate nice reports - which I like a lot. It has options to plan budgets and other nice little things and can become handy. In fact I was almost opting for Quicken until I realized one little thing missing: it cannot handle transactions with different currencies in the same account; and GNUCash does that like a charm :D. Kudows for the community work. That's it. Free Software 1 x 0 Paid Software :P. And I'm a proud user and supporter of Free Software. Related articles Whats th