Hi again, I had some free time today, so I made a CentOS 7 Minimal virtual machine and built guacamole-server 1.1.0. I followed the exact instructions from the Guacamole Manual (http://guacamole.apache.org/doc/gug/installing-guacamole.html). As I pointed out in my previous email, "ffmpeg-devel" was unavailable in the default CentOS 7 repos and in the EPEL repo (yum install epel-release). So I also set up the RPM Fusion repo (using the Command Line instructions for RHEL 7 or compatible from https://rpmfusion.org/Configuration/), then was able to install ffmpeg-devel.
Following the instructions from the Guacamole Manual and installing ffmpeg-devel from RPM Fusion allowed me to build, install, and run guacd and guacenc without any issues. For the sake of documentation, the versions of the ffmpeg libs on CentOS 7 when installed from RPM Fusion can be found in /usr/lib64 and I've listed the .so files that guacenc uses below so that you can compare to the versions installed on your system. libavcodec.so.57.107.100 libavutil.so.55.70.100 libswscale.so.4.8.100 I hope this helps. Sean On Wed, May 20, 2020 at 7:18 AM Sean Reid <sean.re...@gmail.com> wrote: > > Hi, > > I have two questions for you: are you planning making screen recordings with > guacamole and then converting those recordings into video files once you have > it built? And what repository did you add to your CentOS install to get > ffmpeg, because as far as I can recall, CentOS 7 does not provide ffmpeg or > ffmpeg-devel in it’s official repos. > > The reason I ask the first question is because if you’re not going to use it > to make screen recordings and convert them into video files, then you can > uninstall the ffmpeg dependencies and build guacamole without it. The > configure script will skip guacenc and guacenc is only used for converting > recordings into videos. So if you don’t need to do that, you can avoid this > build issue you’re having entirely. > > If you are going to be making video files, then to help I need to know what > repository you added to get the ffmpeg dependencies. CentOS doesn’t have > ffmpeg in it’s official repositories and different third party repositories > have different versions of ffmpeg in it. It would also be helpful to know > what version of ffmpeg you got. You can test that by just running “ffmpeg” > and grabbing the header of text it prints out when it starts. > > Sean > > On Wed, May 20, 2020 at 12:22 AM alipawsey <alizaman...@live.com> wrote: >> >> All good with ./configure: >> ------------------------------------------------ >> guacamole-server version 1.1.0 >> ------------------------------------------------ >> >> Library status: >> >> freerdp2 ............ yes >> pango ............... yes >> libavcodec .......... yes >> libavutil ........... yes >> libssh2 ............. yes >> libssl .............. yes >> libswscale .......... yes >> libtelnet ........... yes >> libVNCServer ........ yes >> libvorbis ........... yes >> libpulse ............ yes >> libwebsockets ....... yes >> libwebp ............. yes >> wsock32 ............. no >> >> Protocol support: >> >> Kubernetes .... yes >> RDP ........... yes >> SSH ........... yes >> Telnet ........ yes >> VNC ........... yes >> >> Services / tools: >> >> guacd ...... yes >> guacenc .... yes >> guaclog .... yes >> >> FreeRDP plugins: /usr/lib64/freerdp2 >> Init scripts: /etc/init.d >> Systemd units: no >> >> "make" hits this error: >> >> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libavcodec.so: >> undefined reference to `opus_multistream_surround_encoder_create' >> collect2: error: ld returned 1 exit status >> make[2]: *** [guacenc] Error 1 >> make[2]: Leaving directory >> `/home/ali/guacamole/guacamole-server-1.1.0/src/guacenc' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/ali/guacamole/guacamole-server-1.1.0' >> make: *** [all] Error 2 >> >> Any advise please? >> libavcodec handled by ffmped by: >> yum install ffmpeg ffmpeg-devel >> >> >> >> -- >> Sent from: >> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org >> For additional commands, e-mail: user-h...@guacamole.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org