charlie2alpha
Senior Member
Hi,
I tried building from the current master branch (don't intent on using it yet!) and I encountered one single problem: For some reason OpenPAM, on the install stage, tries to link with my system /usr/lib/libdl.so instead of the one provided on the dev enviroment of asuswrt. Of course the link fails since my distro's lib is not an arm binary and the build stops.
A temporary solution I found is to change the libdir in the makefiles not to point to /usr/lib but a more permanent solution is needed! After I did those changes, the rest of the build proceeded normally and I got a complete firmware image for my RT-AC56U which has a normal size (which I still won't flash, doubt it works properly yet).
I am not really familiar with the whole build system, but it does seem that some parameter passed (or not passed properly maybe) to the configure script of OpenPAM ends up setting the libdir in the Makefiles to "/usr/lib" and creates the breakage when the libtool is run in the install phase of the openpam.
Of course, I understand this is work in progress, but I thought to mention it since the rest of the sources at least compile without linking errors.
I tried building from the current master branch (don't intent on using it yet!) and I encountered one single problem: For some reason OpenPAM, on the install stage, tries to link with my system /usr/lib/libdl.so instead of the one provided on the dev enviroment of asuswrt. Of course the link fails since my distro's lib is not an arm binary and the build stops.
A temporary solution I found is to change the libdir in the makefiles not to point to /usr/lib but a more permanent solution is needed! After I did those changes, the rest of the build proceeded normally and I got a complete firmware image for my RT-AC56U which has a normal size (which I still won't flash, doubt it works properly yet).
I am not really familiar with the whole build system, but it does seem that some parameter passed (or not passed properly maybe) to the configure script of OpenPAM ends up setting the libdir in the Makefiles to "/usr/lib" and creates the breakage when the libtool is run in the install phase of the openpam.
Of course, I understand this is work in progress, but I thought to mention it since the rest of the sources at least compile without linking errors.
Last edited: