Forum > Unix

compiled linux library (.so) is executable

<< < (3/3)

Fred vS:

--- Quote from: Чебурашка on May 15, 2023, 05:38:55 pm ---
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---[user@deb-9]# file libxyz-i386-linux.solibxyz-i386-linux.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped 
--- End quote ---

Indeed, it is not hardened ( should be "LSB pie").
So, sorry, I dont know why your library is set as 755.

Raskaton:
1. Check Project options "Miscellaneous" -> "Project is runnable"
https://wiki.freepascal.org/IDE_Window:_Project_Options#Project_is_runnable

2. May be, if in IDE Compiler Options disable flag "Apply conventions" and set target as "project.so" affect this too.

Navigation

[0] Message Index

[*] Previous page

Go to full version