[ 
https://issues.apache.org/jira/browse/GUACAMOLE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629847#comment-16629847
 ] 

Michael Jumper commented on GUACAMOLE-633:
------------------------------------------

Your libavutil was packaged/built incorrectly and should have been linked 
against libm at build time. Built in this way, software that links against 
libavutil will not work unless that software happens to link against libm on 
its own.

You can work around this by setting {{LDFLAGS=-lm}} for now, but I suggest 
reporting this to the package maintainer of your libavutil package. This may be 
a bug in your libavutil package, or it may be a bug in libavutil, but this is 
not a bug in Guacamole.

> Error: /lib64/libavutil.a(eval.o): undefined reference to symbol 
> 'acos@@GLIBC_2.2.5
> -----------------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-633
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-633
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacenc
>    Affects Versions: 1.0.0
>         Environment: Slackware 14.2_64
> x86_64 Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz GenuineIntel GNU/Linux
> ffmpeg version 3.4.2
> NVIDIA Driver Version: 340.107
> gcc (GCC) 7.3.0
>            Reporter: ImCylon
>            Priority: Major
>              Labels: build
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> $make -j3 (tail output)
> /usr/bin/ld: 
> /usr/lib64/gcc/x86_64-slackware-linux/7.3.0/../../../../lib64/libavutil.a(eval.o):
>  undefined reference to symbol 'acos@@GLIBC_2.2.5' 
> /lib64/libm.so.6: error adding symbols: DSO missing from command line 
> collect2: error: ld returned 1 exit status 
> make[2]: *** [Makefile:584: guacenc] Error 1 
> make[2]: Leaving directory 
> '/home/setup/programs/geral/guacamole-0.9.14/guacamole-server-master/src/guacenc'
>  
> make[1]: *** [Makefile:513: all-recursive] Error 1 
> make[1]: Leaving directory 
> '/home/setup/programs/geral/guacamole-0.9.14/guacamole-server-master' 
> make: *** [Makefile:435: all] Error 2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to