XScreenSaver error in compilation

Bug #1220330 reported by sylwke3100
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Undecided
Cris Dywan

Bug Description

I have problem with XScreenSaver in Compilation midori but ./configure not present error. This is make error

[ 29%] Built target midori-core
Linking C executable midori
libmidori-core.so.0.0.0: undefined reference to `XScreenSaverQueryExtension'
libmidori-core.so.0.0.0: undefined reference to `XScreenSaverQueryInfo'
libmidori-core.so.0.0.0: undefined reference to `XScreenSaverAllocInfo'

Tags: cmake

Related branches

Revision history for this message
Olivier Duchateau (duchateau-olivier) wrote :

I got same error with recent import of cmake (r6371, midori branch) under FreeBSD.

[...]
[ 63%] Building C object midori/CMakeFiles/midori.dir/main.c.o
Linking C executable midori
libmidori-core.so.0.0.0: undefined reference to `XScreenSaverAllocInfo'
libmidori-core.so.0.0.0: undefined reference to `XScreenSaverQueryInfo'
libmidori-core.so.0.0.0: undefined reference to `XScreenSaverQueryExtension'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.

cmake provides module (FindX11.cmake) which detects X11 library (and some extensions).

With patch (in attachment), compilation succeeds, but I don't check Xss, only scrnsaver.h header.

Cody Garver (codygarver)
Changed in midori:
milestone: none → 0.5.6
Cris Dywan (kalikiana)
Changed in midori:
assignee: nobody → Christian Dywan (kalikiana)
status: New → Confirmed
Cris Dywan (kalikiana)
tags: added: cmake
Revision history for this message
sylwke3100 (berciu-deactivatedaccount) wrote :

Midori compiled but not work because have error with lib:

midori: error while loading shared libraries: libmidori-core.so.1: cannot open shared object file: No such file or directory

only lib is in folder /usr/local/lib/i386-linux-gnu/midori (why not /usr/local/lib/midori ?)

Revision history for this message
Cris Dywan (kalikiana) wrote :

That error suggests you installed Midori in a folder that's neither in your system nor user library paths. The i386-linux-gnu is multi-arch support, you can have any number of architectures installed on the same system. That's nothing to do with Midori, though.

Cris Dywan (kalikiana)
Changed in midori:
status: Confirmed → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.