Hey
Sorry if I post in the wrong forum category.
I updated (freebsd-update) Freebsd from 11.2 to 11.3 and then to 11.4-RELEASE-p4. System (and all services) works OK
I want update very old ports by postmaster.
I have strange error when trying update perl 5.28 to 5.32.
added in /etc/make.conf
Next:
And I got error:
When I tying compile that simple try.c is same error with libutil.so. Compilation is OK when i dont use flag -lutil in cc command.
libutil.so (and other *.so also) is very old ;/ 21 lip 2017 = July 2017, "10 lis" is 10 November 2020 (when I upgraded Freebsd).
How can I update that files?
some other *.so files
Sorry if I post in the wrong forum category.
I updated (freebsd-update) Freebsd from 11.2 to 11.3 and then to 11.4-RELEASE-p4. System (and all services) works OK
I want update very old ports by postmaster.
I have strange error when trying update perl 5.28 to 5.32.
added in /etc/make.conf
Code:
DEFAULT_VERSIONS+= perl5=5.32
Code:
portmaster -o lang/perl5.32 lang/perl5.28
And I got error:
Code:
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/usr/lib /usr/local/lib /usr/lib/clang/10.0.0/lib /usr/lib]
What is the file extension used for shared libraries? [so]
Make shared library basenames unique? [n]
Build Perl for SOCKS? [n]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lpthread -lgdbm -lm -lcrypt -lutil]
What optimizer/debugger flag should be used?
[-O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing ]
Any additional cc flags?
[-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
I used the command:
cc -o try -O2 -pipe -march=skylake -fstack-protector-strong -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib try.c -lpthread -lgdbm -lm -lcrypt -lutil
./try
and I got the following output:
/usr/lib/libutil.so: undefined reference to `__pw_scan@FBSDprivate_1.0'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
I can't compile the test program.
When I tying compile that simple try.c is same error with libutil.so. Compilation is OK when i dont use flag -lutil in cc command.
Code:
[root@odin /usr/lib]# ls -al libut*
-r--r--r-- 1 root wheel 9534 21 lip 2017 libutempter_p.a
-r--r--r-- 1 root wheel 9030 21 lip 2017 libutempter.a
-r--r--r-- 1 root wheel 9176 21 lip 2017 libutempter.so
-r--r--r-- 1 root wheel 156194 10 lis 23:44 libutil_p.a
-r--r--r-- 1 root wheel 151200 10 lis 23:44 libutil.a
-r--r--r-- 1 root wheel 77144 21 lip 2017 libutil.so
libutil.so (and other *.so also) is very old ;/ 21 lip 2017 = July 2017, "10 lis" is 10 November 2020 (when I upgraded Freebsd).
How can I update that files?
some other *.so files
Code:
-r--r--r-- 1 root wheel 155426 10 lis 23:44 libusb_p.a
-r--r--r-- 1 root wheel 143892 10 lis 23:44 libusb.a
-r--r--r-- 1 root wheel 88040 21 lip 2017 libusb.so
-r--r--r-- 1 root wheel 91880 10 lis 23:44 libusb.so.3
-r--r--r-- 1 root wheel 21662 10 lis 23:44 libusbhid_p.a
-r--r--r-- 1 root wheel 20806 10 lis 23:44 libusbhid.a
-r--r--r-- 1 root wheel 16944 21 lip 2017 libusbhid.so
-r--r--r-- 1 root wheel 16024 10 lis 23:44 libusbhid.so.4