Opened 9 years ago
Closed 9 years ago
#4229 closed defect (fixed)
Oscam suddenly cannot be build anymore with script that worked for years
Reported by: | Dimmie | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | General |
Severity: | high | Keywords: | |
Cc: | Sensitive: | no |
Description
Oscam suddenly cannot be build anymore with script that worked for years
problem since 10772
till 10771 all was fine
Using debian 7 this is what happens:
Scanning dependencies of target oscam
[100%] Building C object CMakeFiles/oscam.dir/oscam.o
Linking C executable oscam
/usr/bin/ld: cannot find -liconv
collect2: error: ld returned 1 exit status
make[2]: * [oscam] Error 1
make[1]: * [CMakeFiles/oscam.dir/all] Error 2
make: * [all] Error 2
Also simplebuild gives the same error.
Change History (9)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Same on FreeBSD:
CONF build/amd64-freebsd-ssl-pcsc/config.c CC oscam.c LINK Distribution/oscam-1.20-unstable_svn10772-amd64-freebsd-ssl-pcsc.debug /usr/bin/ld: cannot find -liconv clang: error: linker command failed with exit code 1 (use -v to see invocation)
comment:4 by , 9 years ago
I tried all platforms and oscam does not build anywhere since 10722.
please revert or made default that liconv is not required.
comment:6 by , 9 years ago
soooo
on debian you need to install the pack libiconv
wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
tar xvf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure
make install
after this oscam can be built normal again and you can enable utf-8 support when you start oscam with the flag -u
comment:7 by , 9 years ago
For crosscompilers:
wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
tar xvf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure --host=mipsel-linux-unknown-gnu --prefix=/opt/toolchains/mipsel-linux-unknown-gnu
make
sudo make install
Any problems? :) .bashrc in ~ must have var PATH to compilers binaries.
comment:8 by , 9 years ago
These issues should be fixed with r10773, no more external libiconv required on linux.
comment:9 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by AEONhttp://www.streamboard.tv/oscam/changeset/10773
r10772 + simplebuild v2.42 + ubuntu 14.04.2 64-bit:
http://www.streamboard.tv/wbb2/thread.php?postid=545723#post545723