guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Jumper <mike.jum...@guac-dev.org>
Subject Re: Installation issue : error: relink 'libguac-client-rdp.la' with the above command before installing it
Date Mon, 17 Apr 2017 06:24:12 GMT
Hi Rakesh,

What Linux distribution are you building on?

What version of FreeRDP is installed, and how was it installed?

- Mike


On Tue, Apr 11, 2017 at 2:26 AM, Rakesh Shukla
<rakeshshukla.raj@gmail.com> wrote:
> Hi ,
>
> I tried to install Gucamole on Linux VM and getting below error while doing
> "sudo make install".
>
> sudo make install
>
> bash-4.2$ sudo make install
> [sudo] password for rshukla:
> Making install in src/libguac
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguac'
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguac'
>  /usr/bin/mkdir -p '/usr/local/lib'
>  /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libguac.la
> '/usr/local/lib'
> libtool: install: /usr/bin/install -c .libs/libguac.so.12.1.0
> /usr/local/lib/libguac.so.12.1.0
> libtool: install: (cd /usr/local/lib && { ln -s -f libguac.so.12.1.0
> libguac.so.12 || { rm -f libguac.so.12 && ln -s libguac.so.12.1.0
> libguac.so.12; }; })
> libtool: install: (cd /usr/local/lib && { ln -s -f libguac.so.12.1.0
> libguac.so || { rm -f libguac.so && ln -s libguac.so.12.1.0 libguac.so; };
> })
> libtool: install: /usr/bin/install -c .libs/libguac.lai
> /usr/local/lib/libguac.la
> libtool: install: /usr/bin/install -c .libs/libguac.a
> /usr/local/lib/libguac.a
> libtool: install: chmod 644 /usr/local/lib/libguac.a
> libtool: install: ranlib /usr/local/lib/libguac.a
> libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/sbin" ldconfig -n
> /usr/local/lib
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the '-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the 'LD_RUN_PATH' environment variable
>      during linking
>    - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to '/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
>  /usr/bin/mkdir -p '/usr/local/include/guacamole'
>  /usr/bin/install -c -m 644 guacamole/audio.h guacamole/audio-fntypes.h
> guacamole/audio-types.h guacamole/client-constants.h guacamole/client.h
> guacamole/client-fntypes.h guacamole/client-types.h guacamole/error.h
> guacamole/error-types.h guacamole/hash.h guacamole/layer.h
> guacamole/layer-types.h guacamole/object.h guacamole/object-types.h
> guacamole/parser-constants.h guacamole/parser.h guacamole/parser-types.h
> guacamole/plugin-constants.h guacamole/plugin.h guacamole/pool.h
> guacamole/pool-types.h guacamole/protocol.h guacamole/protocol-types.h
> guacamole/socket-constants.h guacamole/socket.h guacamole/socket-fntypes.h
> guacamole/socket-types.h guacamole/stream.h guacamole/stream-types.h
> guacamole/timestamp.h guacamole/timestamp-types.h guacamole/unicode.h
> guacamole/user.h guacamole/user-constants.h guacamole/user-fntypes.h
> guacamole/user-types.h '/usr/local/include/guacamole'
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguac'
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguac'
> Making install in src/common
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common'
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common'
> Making install in src/libguacd
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguacd'
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/libguacd'
> Making install in tests
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/tests'
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/tests'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/tests'
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/tests'
> Making install in src/common-ssh
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common-ssh'
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common-ssh'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common-ssh'
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/common-ssh'
> Making install in src/terminal
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/terminal'
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/terminal'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/terminal'
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/terminal'
> Making install in src/protocols/rdp
> make[1]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp'
> make  install-am
> make[2]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp'
> make[3]: Entering directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp'
>  /usr/bin/mkdir -p '/usr/local/lib'
>  /bin/sh ../../../libtool   --mode=install /usr/bin/install -c
> libguac-client-rdp.la '/usr/local/lib'
> libtool: warning: relinking 'libguac-client-rdp.la'
> libtool: install: (cd
> /home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp;
> /bin/sh "/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/libtool"
> --silent --tag CC --mode=relink gcc -std=gnu99 -Werror -Wall -Iinclude
> -I../../../src/common -I../../../src/common-ssh -I../../../src/libguac -g
> -O2 -version-info 0:0:0 -lcairo -lpthread -lfreerdp-core -lfreerdp-cache
> -lfreerdp-channels -lfreerdp-utils -lfreerdp-codec -o libguac-client-rdp.la
> -rpath /usr/local/lib libguac_client_rdp_la-audio_input.lo
> libguac_client_rdp_la-client.lo libguac_client_rdp_la-dvc.lo
> libguac_client_rdp_la-input.lo libguac_client_rdp_la-keyboard.lo
> libguac_client_rdp_la-ptr_string.lo libguac_client_rdp_la-rdp.lo
> libguac_client_rdp_la-rdp_bitmap.lo libguac_client_rdp_la-rdp_cliprdr.lo
> libguac_client_rdp_la-rdp_color.lo libguac_client_rdp_la-rdp_disp.lo
> libguac_client_rdp_la-rdp_fs.lo libguac_client_rdp_la-rdp_gdi.lo
> libguac_client_rdp_la-rdp_glyph.lo libguac_client_rdp_la-rdp_keymap.lo
> libguac_client_rdp_la-rdp_print_job.lo libguac_client_rdp_la-rdp_pointer.lo
> libguac_client_rdp_la-rdp_rail.lo libguac_client_rdp_la-rdp_settings.lo
> libguac_client_rdp_la-rdp_stream.lo libguac_client_rdp_la-rdp_svc.lo
> libguac_client_rdp_la-resolution.lo libguac_client_rdp_la-unicode.lo
> libguac_client_rdp_la-user.lo compat/libguac_client_rdp_la-winpr-stream.lo
> libguac_client_rdp_la-sftp.lo libguac_client_rdp_la-_generated_keymaps.lo
> ../../../src/common/libguac_common.la ../../../src/libguac/libguac.la
> ../../../src/common-ssh/libguac_common_ssh.la )
> mv: cannot move 'libguac-client-rdp.so.0.0.0' to
> 'libguac-client-rdp.so.0.0.0U': Permission denied
> libtool:   error: error: relink 'libguac-client-rdp.la' with the above
> command before installing it
> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[3]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory
> `/home/rshukla/Downloads/guacamole-server-0.9.12-incubating/src/protocols/rdp'
> make: *** [install-recursive] Error 1
>
>
>
> The out put of ./configure is as follows-
>
> ------------------------------------------------
> guacamole-server version 0.9.12-incubating
> ------------------------------------------------
>
>    Library status:
>
>      freerdp ............. yes
>      pango ............... yes
>      libavcodec .......... no
>      libavutil ........... no
>      libssh2 ............. yes
>      libssl .............. yes
>      libswscale .......... no
>      libtelnet ........... no
>      libVNCServer ........ no
>      libvorbis ........... no
>      libpulse ............ no
>      libwebp ............. yes
>
>    Protocol support:
>
>       RDP ....... yes
>       SSH ....... yes
>       Telnet .... no
>       VNC ....... no
>
>    Services / tools:
>
>       guacd ...... yes
>       guacenc .... no
>
>    Init scripts: no
>
> Type "make" to compile guacamole-server.
>
>
> mkae was successfull.
>

Mime
View raw message