Closed shibumi closed 10 years ago
HI Chris, You could do something like
qmake "LIBS=-L/usr/lib/c-vtapi" && make
or you could edit the qt-vt-uploader.pro file and edit the line that starts wtih LIBS and add:
-L/your/custom/path
Thanks, compiling finished. But when I try to execute VirusTotalUploader. I get the following error-Message.
Here is my: /usr/lib/c-vtapi/
libcvtapi.so libcvtapi.so.1 libcvtapi.so.1.0.0
./VirusTotalUploader: error while loading shared libraries: libcvtapi.so.1: cannot open shared object file: No such file or directory
Since you installed the cvtapi library outside of your system libary path you have two options:
1) Add it to your system libary path by editing /etc/ld.so.conf and adding a line with /usr/lib/c-vtapi/
then run ldconfig
you can see man ldconfig
or your linux distro might have more docs on it.
2) When you run the program specify the path
LD_LIBRARY_PATH="/usr/lib/c-vtapi" ./VirusTotalUploader
Thank you. My mistake. I choosed the wrong lib path. Everything is running now and fine. thx!
c-vtapi and qt-virusuploader are now in the AUR (Archlinux User Repository)
https://aur.archlinux.org/packages/qt-virustotal-uploader-git/ https://aur.archlinux.org/packages/c-vtapi-git/
Cool. I had a look at the PKGBUILD and my only suggestion would be to not put use the --prefix parameter on the c-vtapi configure. that way the library gets installed in the default system library dir ( /usr/lib and then there won't be any need to mess around with the library path.
oh thx I see.. I forgot to push the new PKGBUILD because the $pkgdir is wrong in the prefix too thx
this is the new PKGBUILD: https://aur.archlinux.org/packages/c-/c-vtapi-git/PKGBUILD
the lib is explicitly installed in /usr/lib now
Hey Guys, thx for developing this software. I am currently working on some linux-packages for your tool. I have some trouble with compiling qt-virustotal-uploader. I pushed the c-vtapi in /usr/lib/c-vtapi do you have a configure file or something for changing the lib path? thx
greetings
chris