POV-Ray : Newsgroups : povray.binaries.programming : Updated yuqk tarballs for Unix/Linux. 16941651 : Re: Updated yuqk tarballs for Unix/Linux. 16941651 (HS ?) Server Time
14 Apr 2024 13:45:08 EDT (-0400)
  Re: Updated yuqk tarballs for Unix/Linux. 16941651 (HS ?)  
From: William F Pokorny
Date: 18 Mar 2024 16:26:59
Message: <65f8a393$1@news.povray.org>
On 3/18/24 12:26, kurtz le pirate wrote:
> Now it's the x11 library which causes issues:(
> 
> ...
> ...
> /usr/bin/ld : disp_x11.cpp:(.text+0x2b8) : référence indéfinie vers
> « XDestroyWindow »
> /usr/bin/ld : disp_x11.cpp:(.text+0x2c8) : référence indéfinie vers
> « XFreeColormap »
> /usr/bin/ld : disp_x11.cpp:(.text+0x2d8) : référence indéfinie vers
> « XFreeGC »
> /usr/bin/ld : disp_x11.cpp:(.text+0x2e4) : référence indéfinie vers
> « XCloseDisplay »
> /usr/bin/ld : disp_x11.o : dans la fonction
> « pov_frontend::UnixX11Display::UpdateScreen(bool) » :
> ...
> ...

I'm still learning how linux works too... :-)

If you cd to the directory:

/lib/x86_64-linux-gnu or /usr/lib/x86_64-linux-gnu/

Can you list libX11 files?  ls -l libX11*

On my Ubuntu machine I see:

-rw-r--r-- 1 root root 2209016 Oct  2 15:13 libX11.a
lrwxrwxrwx 1 root root      15 Oct  2 15:13 libX11.so -> libX11.so.6.4.0
lrwxrwxrwx 1 root root      15 Oct  2 15:13 libX11.so.6 -> libX11.so.6.4.0
-rw-r--r-- 1 root root 1306280 Oct  2 15:13 libX11.so.6.4.0
lrwxrwxrwx 1 root root      19 Oct  2 15:13 libX11-xcb.so.1 -> 
libX11-xcb.so.1.0.0
-rw-r--r-- 1 root root   14048 Oct  2 15:13 libX11-xcb.so.1.0.0

If you don't see these, maybe your libx11 files are located somewhere 
else? If you can find that location, you can add a link time flag to 
point to it.

Aside: In official versions of POV-Ray there is a file in the unix 
directory with more information on the packages to install, but it's out 
of date and I've never gotten around to updating it. So, the yuqk 
tarball doesn't ship with it. Maybe I should bump up the priority there. 


FWIW, it should be you can configure with '--without-x' and get a text 
only version of the 'povray' executable which the yuqk script wraps. It 
will then have no preview display as the Simple Direct Media 'sdl' 
options (like the x11 preview display) also need x11 to work... 'make 
check' should run - and if so, you would be able to render to output 
image files.

Bill P.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.