Hello,
I think my problem is clear. I'm trying to install some ports (I mean all the ports give me the same error) then I get:
in this case I'm trying to install portmaster; I did try with other ports but same at first I though that it was bcz because I had a library missing.
I made a symblic link to fix that but the rest is still the same (every thing was working fine until upgraded from 9.2 to 10.0).
Any idea on how to fix it and thanks in advance
edit: the file /usr/include/c++ is empty
I think my problem is clear. I'm trying to install some ports (I mean all the ports give me the same error) then I get:
Code:
pkg-convert.o: In function `exec_convert':
convert.c:(.text+0x3e5): undefined reference to `dirfd'
../libpkg/.libs/libpkg.so: undefined reference to `archive_write_add_filter_gzip'
../libpkg/.libs/libpkg.so: undefined reference to `archive_write_add_filter_none'
../libpkg/.libs/libpkg.so: undefined reference to `archive_read_support_filter_all'
../libpkg/.libs/libpkg.so: undefined reference to `archive_write_add_filter_xz'
../libpkg/.libs/libpkg.so: undefined reference to `archive_read_support_filter_none'
../libpkg/.libs/libpkg.so: undefined reference to `archive_write_add_filter_bzip2'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[6]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.7/src
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.7
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.7
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/ports-mgmt/portmaster
*** Error code 1
Stop.
make: stopped in /usr/ports/ports-mgmt/portmaster
Code:
libssl.so.6
libmd.so.5
Any idea on how to fix it and thanks in advance
edit: the file /usr/include/c++ is empty
Last edited by a moderator: