pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43129: lang/gcc3.4: libstdc++ has depencency on libint



>Number:         43129
>Category:       pkg
>Synopsis:       lang/gcc3.4: libstdc++ has depencency on libint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 05 20:30:00 +0000 2010
>Originator:     Stefan
>Release:        linux
>Organization:
>Environment:
>Description:
$ cat hello.cpp 
int main(){return(0);}
$

$ /usr/current/gcc34/bin/g++ hello.cpp 
/usr/current/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libstdc++.so: 
undefined reference to `libintl_textdomain'
/usr/current/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libstdc++.so: 
undefined reference to `libintl_bindtextdomain'
collect2: ld returned 1 exit status
$

$ /usr/current/gcc34/bin/g++ hello.cpp -lintl
$

For c++ programs, one needs to explicitly link libintl. Is it supposed to be 
like this?
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index