i tried to compile krita but i have this error
i tried to compile krita but i have this error:
[ 0%] Building CXX object plugins/metadata/common/CMakeFiles/kritaexifcommon.dir/KisExiv2IODevice.cpp.o [ 0%] Built target kritacolord_autogen [ 0%] Built target kritaplugin_autogen [ 0%] Built target kritastore_autogen [ 0%] Generating CdSensorInterface.cpp, CdSensorInterface.h [ 0%] Generating CdDeviceInterface.cpp, CdDeviceInterface.h [ 0%] Generating CdInterface.cpp, CdInterface.h [ 1%] Generating CdProfileInterface.cpp, CdProfileInterface.h [ 1%] Building CXX object libs/koplugin/CMakeFiles/kritaplugin.dir/cmake_pch.hxx.gch [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/cmake_pch.hxx.gch [ 1%] Generating CdProfileInterface.moc [ 1%] Generating CdSensorInterface.moc [ 1%] Generating CdDeviceInterface.moc [ 1%] Generating CdInterface.moc [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/cmake_pch.hxx.gch [ 1%] Built target KisSharedThreadPoolAdapterTest_autogen [ 1%] Building CXX object libs/global/tests/CMakeFiles/KisSharedThreadPoolAdapterTest.dir/cmake_pch.hxx.gch [ 1%] Linking CXX shared library libkritaexifcommon.so [ 1%] Linking CXX shared library libkritamultiarch.so /usr/bin/ld: impossibile trovare -lxtl: File o directory non esistente [ 1%] Built target kritaexifcommon collect2: error: ld returned 1 exit status make[2]: *** [libs/multiarch/CMakeFiles/kritamultiarch.dir/build.make:115: libs/multiarch/libkritamultiarch.so.19.0.0] Errore 1 make[1]: *** [CMakeFiles/Makefile2:26916: libs/multiarch/CMakeFiles/kritamultiarch.dir/all] Errore 2 make[1]: *** Attesa per i processi non terminati.... how can i solve it? thanks, best regards |
Welcome to LQ and the Programming forum!
You had posted to this dormant thread (for reference) but your problem should have its own discussion so it has been moved accordingly to help your question get the exposure it deserves. The error indicates that a shared library could not be found, have you attempted to resolve that issue? If so, what did you try and wha were the results? It would also be helpful to others if you included some basic information about the system on which you are building, Linux distro name and version at least. |
Thanks for your help! :)
i don't know how to solve it :( i use ubuntu kinetic 22.10, i have only try to launch this command: Code:
23:45:42 root@NanoKDE /home/dacorsa # ld -lxtl --verbose |
You are welcome!
I am not an Ubuntu user so am not very familiar with its package manager and utilities, so maybe someone with all that knowledge will jump in here before long. In the mean time, I suspect that you may need to install the -devel version of the package that supplies libxtl. Usually in my experience that would be something like libxtl-devel.xxx, whatever your package suffix is. A search online for libxtl for ubuntu turns up a number of hits, but I hesitate to choose one as I may likely send you down a wrong path! You shoulld try entering the exact error message into a search engine and take your best guess as a place to start. |
Thanks, but not exist libxtl lib on ubuntu.
Hope I'm wrong 😄 |
Hmmm...
Well, again with the caveat that I may not know what I am talking about, and assuming this is the xtl that is missing, you might grab the source from that link and try to build it yourself (instructions in the README, looks easy enough). PLease verify install prefix on Ubuntu, but on my non-Ubuntu machines I would try /usr/local/lib. |
Yes prefix is /usr/local/lib or bin
I always follow this guide for compiling but now not works https://docs.krita.org/en/untranslat...lding-on-linux Would you try? Thanks, best regards Astrogeek! |
Astro i have compiled and installed that https://github.com/xtensor-stack/xtl
but i have always same error: [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguifactory_p.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguiversionhandler.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguiwindow.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/katecommandbar.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/commandmodel.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kmainwindowiface.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/qrc_kxmlgui.cpp.o [ 2%] Linking CXX shared library libkritawidgetutils.so [ 2%] Built target kritawidgetutils [ 2%] Automatic MOC for target kritamultiarch [ 2%] Built target kritamultiarch_autogen [ 2%] Linking CXX shared library libkritamultiarch.so /usr/bin/ld: impossibile trovare -lxtl: File o directory non esistente collect2: error: ld returned 1 exit status make[2]: *** [libs/multiarch/CMakeFiles/kritamultiarch.dir/build.make:115: libs/multiarch/libkritamultiarch.so.19.0.0] Errore 1 make[1]: *** [CMakeFiles/Makefile2:26943: libs/multiarch/CMakeFiles/kritamultiarch.dir/all] Errore 2 make: *** [Makefile:146: all] Errore 2 ls: impossibile accedere a '/app/kritadev/install/bin/krita': File o directory non esistente |
Check with this command:
Code:
ldconfig -v 2>/dev/null | grep libxtl.so |
Thanks for your reply,
nothing found 13:30:16 root@NanoKDE /home/dacorsa # ldconfig -v 2>/dev/null | grep libxtl.so 13:48:50 root@NanoKDE /home/dacorsa # |
the problem is: what i have to build to have libxtl.so ???
i don't have found nothing on github Best regards |
Then examine the previous step: where to did you install what? Was it succesfull?
|
I build the source but not install the wanted libxtl.so , maybe it's not the correct lib
Thanks |
libxtl.so o xtl.a how build it?
|
FROM KDE Forum:
This is actually a bug in Debian, it turns out: 17:14:49 < amyspark> halla: *laughs* it's a debian upstream bug! 17:15:36 < amyspark> in the debian source, I see they're compiling with `-DENABLE_XTL_COMPLEX=ON` which enables a dependency on xtensor for the complex number stuff, but the .deb itself has no dependency on it 17:16:47 < amyspark> even then, using INTERFACE_LINK_LIBRARIES shows this wasn't tested outside of a developer system... that should be an imported target so CMake adds the find_package and the library path We don't have a solution yet... Thanks all, best regards. |
All times are GMT -5. The time now is 04:25 PM. |