[helena@fedora fb-ext-lib-master]$ sudo make install
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
make[1]: Entering directory '/home/helena/Downloads/fb-ext-lib-master/src/modules'
mkdir -p /include/freebasic/ext
cp -r ../../include/freebasic/ext/detail /include/freebasic/ext/
Installing libext-preprocessor
cp -r ../../include/freebasic/ext/preprocessor.bi /include/freebasic/ext
cp -r ../../include/freebasic/ext/preprocessor /include/freebasic/ext
Installing libext-templates
cp -r ../../include/freebasic/ext/templates.bi /include/freebasic/ext
Installing libext-memory
cp -r ../../include/freebasic/ext/memory.bi /include/freebasic/ext
cp -r ../../include/freebasic/ext/memory /include/freebasic/ext
cp -r ../../lib/linux/libext-memory.* /lib/freebasic/linux/
cp: unable to create shared file '/lib/freebasic/linux/': Missing file or directory
make[1]: *** [Makefile:214: install-memory] Error 1
make[1]: Exiting directory '/home/helena/Downloads/fb-ext-lib-master/src/modules'
make: *** [Makefile:62: install] Error 2
Is there any way to fix this issue? If there isn't, where do i put the extended library binaries? I already know that i should put the headers in /usr/local/include/freebasic/ext, but i don't know where to put the binaries.
The libtinfo.so.5 issue, should be solved first (before anything else) because, it's a FBC install problem.
See other threads, referring to this issue. Search: 'libtinfo5' (sans quotes).
After solving that, see again, whether there are any issues with *ext.lib*.
MrSwiss wrote:... because, it's a FBC install problem.
It's not an FBC install problem. The FBC compiler (or more precise linker) tries to link against the library libtinfo.so.5, but the package manager did not provide the version information. So it's a libtinfo install problem.
Try to purge libtinfo and install it again, perhaps from a different source. And take care of a matching version (depending on your fbc version).
Regards
PS
It doesn't matter where to put the library binaries as long as you pass the full PathName to the linker. (See also environment variable LD_LIBRARY_PATH and command ldconfig.)
[helena@fedora fb-ext-lib-master]$ sudo make install
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
fbc: /lib64/libtinfo.so.5: no version information available (required by fbc)
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
make[1]: Entering directory '/home/helena/Downloads/fb-ext-lib-master/src/modules'
mkdir -p /include/freebasic/ext
cp -r ../../include/freebasic/ext/detail /include/freebasic/ext/
Installing libext-preprocessor
cp -r ../../include/freebasic/ext/preprocessor.bi /include/freebasic/ext
cp -r ../../include/freebasic/ext/preprocessor /include/freebasic/ext
Installing libext-templates
cp -r ../../include/freebasic/ext/templates.bi /include/freebasic/ext
Installing libext-memory
cp -r ../../include/freebasic/ext/memory.bi /include/freebasic/ext
cp -r ../../include/freebasic/ext/memory /include/freebasic/ext
cp -r ../../lib/linux/libext-memory.* /lib/freebasic/linux/
cp: unable to create shared file '/lib/freebasic/linux/': Missing file or directory
make[1]: *** [Makefile:214: install-memory] Error 1
make[1]: Exiting directory '/home/helena/Downloads/fb-ext-lib-master/src/modules'
make: *** [Makefile:62: install] Error 2
Is there any way to fix this issue? If there isn't, where do i put the extended library binaries? I already know that i should put the headers in /usr/local/include/freebasic/ext, but i don't know where to put the binaries.