Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while setting up the local-environment (undefined reference to `uuid_generate') #1326

Open
BhargavaRam123 opened this issue Jan 21, 2025 · 0 comments

Comments

@BhargavaRam123
Copy link

here are the steps i followed

  1. first i went to the readme and followed the given instructions like installing the following packages: sudo apt-get install libqt5gui5 qtbase5-dev qtwebengine5-dev \ libqt5svg5-dev qt5-image-formats-plugins aria2 \qttools5-dev-tools qtchooser qt5-qmake \qtbase5-dev-tools.
  2. Then i noticed kiwix-desktop also depends on other libraries then i come to know about the kiwix-build . Then i cloned the repo locally and followed the setup instruction in the readme then i ran the command kiwix-build kiwix-desktop --config native_static
  3. now i went back to the kiwix-desktop directory then i exported the package config path and ran the following commands qmake . and make.
  4. Now this is where the error occured, error description
/usr/bin/ld: /home/bhargav/Pictures/projects/kiwix-build/BUILD_native_static/INSTALL/lib/x86_64-linux-gnu/libxapian.a(uuids.o): in function `Uuid::generate()':
(.text+0x27): undefined reference to `uuid_generate'
collect2: error: ld returned 1 exit status
make: *** [Makefile:464: kiwix-desktop] Error 1

os: ubuntu 24.04.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant