(Delphi Linux) Ld-Linux.Exe: Error: Cannot Find -Lgcc_S

(Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

I fixed this by removing the SDK and re-adding it and selecting no to all when asked to overwrite some files.

RAD SERVER 10.4.1 E2597(SystemPath)\ld-linux.exe: error: cannot find -lz deploying to Linux 64

Firstly, you need to install zlib1g-dev in your Linux system by the following command in a terminal.

sudo apt-get install zlib1g-dev

To ensure you have installed all the required libraries, you can also use this command:

sudo apt-get install joe wget p7zip-full curl build-essential zlib1g-dev libcurl4-gnutls-dev

Secondly, reboot the Linux system and/or restart at least the PAServer.

Afterward, go to your SDK manager in the Delphi IDE within Linux 64-Bit and press the button Update Local File Cache below the remote path list under Properties.

BTW: If you had followed these instructions http://docwiki.embarcadero.com/RADStudio/Sydney/en/Linux_Application_Development properly in all points, this would not have happened to you ;).

error /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found

ITs works for me when i avoid /target directory and now working both version of ubuntu 20.04 and 21.10. Giving thanks to @Charles Duffy and @Herohtar for their important and useful instruction,

FROM ubuntu:21.10
RUN apt-get update && apt-get upgrade -y
RUN apt-get install libssl-dev

RUN apt-get install -y -q build-essential curl
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

WORKDIR /command-agent
COPY ./src/. /command-agent/src/
COPY .env /command-agent/
COPY Cargo.toml /command-agent/
COPY Cargo.lock /command-agent/
RUN cargo build --release

EXPOSE 8080
ENTRYPOINT /command-agent/target/release/command-agent

OpenSSH shows a version of OpenSSL but openssl version -v shows the new version i have installed in Ubuntu 14.04

System need to know where the new version of openssl is, try :

cd openssl-1.0.2n/
./config --prefix=/usr/local --openssldir=/usr/local/openssl shared
make clean && make && make install
openssl version
echo "/usr/local/ssl/lib" >> /etc/ld.so.conf
ldconfig -v

export LD_LIBRARY_PATH=/usr/local/lib

Then cd into openssh directory, clean and rebuild.



Related Topics



Leave a reply



Submit