Are you sure you did a full clean rebuild after setting that environment variable?

I'm able to reproduce the error on a fresh install of Ubuntu 20.04.6, but only if LDFLAGS is not set as described below. When LDFLAGS is set to "-lrt" prior to running configure and prior to building anything, the build succeeds.

- Mike

On 12/11/2023 10:27 AM, sam g wrote:
I tried, the /*export LDFLAGS="-lrt"*/ doesn't help, same error.

Sam

Le lundi 11 décembre 2023 à 19:06:56 UTC+1, Michael Jumper <mjum...@apache.org> a écrit :


On 12/9/2023 1:35 AM, sam g wrote:
 > Hi,
 >
 > Small issue in compiling guac 1.5.4:
 > /usr/bin/ld:
 > /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined
 > reference to `timer_delete'
 > /usr/bin/ld:
 > /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined
 > reference to `timer_settime'
 > /usr/bin/ld:
 > /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined
 > reference to `timer_create'
 > collect2: error: ld returned 1 exit status
 > make[2]: *** [Makefile:563: guacd] Error 1
 > make[2]: Leaving directory '/home/sam/guacamole-server-1.5.4/src/guacd'
 >
 > I built the 1.5.3 on the exact same machine without troubles.
 >

Can you try rebuilding (including re-running ./configure) after setting
the following:

export LDFLAGS="-lrt"

It sounds like something has changed under Ubuntu to require an
additional library to be linked in to provide timer_create(), etc.

- Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org <mailto:user-unsubscr...@guacamole.apache.org> For additional commands, e-mail: user-h...@guacamole.apache.org <mailto:user-h...@guacamole.apache.org>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to