Thanks very much, deeproot! That fixed it. And such a simple fix!
Tom
Search found 8 matches
- Sat Sep 21, 2024 7:26 pm
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
- Sat Sep 21, 2024 2:00 am
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Re: Executable Format:Linux makes shared library
Pretty sure now the problem is that position-independent executables (PIE) has been enabled for gcc in Ubuntu 18.04. Solution is to provide the -no-pie option for the gcc compiler. But I have no idea how that can be done when using PureBasic. The problem is not confined to executables created by ...
- Thu Sep 19, 2024 1:03 am
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Re: Executable Format:Linux makes shared library
DD, the PureBasic software is x86. I did copy the source from a 64bit m/c. But I get the same problem with source that was always in a 32bit m/c.
Wonder if I need a linker options file.
Tom
Wonder if I need a linker options file.
Tom
- Wed Sep 18, 2024 12:23 am
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Re: Executable Format:Linux makes shared library
chmod -x exec_filename is not required. The executable runs from the terminal anyway. But not from the Files application.
However I can run it from the GUI by creating a .desktop file for it. It's a workaround.
Disappointed v6.12 does not even start to run but v5.50 will probably be all I need ...
However I can run it from the GUI by creating a .desktop file for it. It's a workaround.
Disappointed v6.12 does not even start to run but v5.50 will probably be all I need ...
- Tue Sep 17, 2024 11:40 pm
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Re: Executable Format:Linux makes shared library
For completeness and because DarkDragon requested it here is the output from
file executable_filename
executable_filename: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1 ...
file executable_filename
executable_filename: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1 ...
- Tue Sep 17, 2024 11:19 pm
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Re: Executable Format:Linux makes shared library
Happy days, DD! That worked. Thanks a lot|
Ubuntu has been very good for me. What do you use now? Don't say Windows!
Tom
Ubuntu has been very good for me. What do you use now? Don't say Windows!
Tom
- Tue Sep 17, 2024 7:43 pm
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Re: Executable Format:Linux makes shared library
Thanks for your reply, Fred. I had tried v6.11 and it would not run at all. Same with v6.12. All the install libraries are the newest version. The setup I have created for v6.12 is exactly the same as for v5.50 apart from the version numbers. v5.50 runs and compiles fine but the problem is Create ...
- Mon Sep 16, 2024 10:47 pm
- Forum: Coding Questions
- Topic: Executable Format:Linux makes shared library
- Replies: 12
- Views: 1671
Executable Format:Linux makes shared library
I am using PureBasic 5.50 on Linux 18.04. Worked fine on 14.04. Now with the Executable Format set to Linux I get a shared library from Create Executable. Don't know how to make that an executable instead.