Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDL Undefined Reference Error #6

Open
histamineblkr opened this issue Jun 25, 2016 · 2 comments
Open

LDL Undefined Reference Error #6

histamineblkr opened this issue Jun 25, 2016 · 2 comments

Comments

@histamineblkr
Copy link

histamineblkr commented Jun 25, 2016

I decided to start a new thread after troubleshooting with my boss on this issue today.

CPU Info

[ OptiPlex 7040]
OS: Ubuntu 16.04
Arch: x86_64
Tower: OptiPlex 7040
Memory: 32G
Processor: Intel Core i7-6700 x 8

[ OptiPlex 7010]
OS: Ubuntu 16.04
Arch: x86_64
Tower: OptiPlex 7010
Memory: 16G
Processor: Intel Core i7-3770 x 8

I had been having a lot of trouble with installing PBIS on an OptiPlex 7040. I ended up getting the following make error on the 7010 and the 7040.

PBIS Make Error on the OptiPlex 7010

# make -j16 package
    [group] dcerpc/ncklib/trans (host/x86_64)
    [link] /opt/pbis/bin/lsa (host/x86_64)
stage/opt/pbis/lib/liblsacommon.so: undefined reference to 'dlopen'
stage/opt/pbis/lib/liblsacommon.so: undefined reference to 'dlclose'
stage/opt/pbis/lib/liblsacommon.so: undefined reference to 'dlerror'
stage/opt/pbis/lib/liblsacommon.so: undefined reference to 'dlsym'
collect2: error: ld returned 1 exit status
    [link] FAILED: 'gcc' '-o' 'stage/opt/pbis/bin/lsa' 'object/lsass/tools/lw-lsa/ad_cache_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/ad_get_machine.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/add_group_add_group.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/add_group_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/add_user_add_user.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/add_user_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/del_group_del_group.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/del_group_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/del_user_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/enum_groups_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/enum_users_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/find_by_sid_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/find_group_by_id_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/find_group_by_name_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/find_user_by_id_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/find_user_by_name_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/get_metrics_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/get_status_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/list_groups_for_user_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/lw_ypcat_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/lw_ypmatch_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/mod_group_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/mod_user_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/set_default_domain_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/set_machine_sid_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/set_machine_name_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/trace_info_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/find_objects.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/enum_objects.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/enum_members.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/query_member_of.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/join_leave_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/account_rights_main.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/authenticate_user.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/common.lsa.host.x86_64.o' 'object/lsass/tools/lw-lsa/main.lsa.host.x86_64.o' '-Lstage/opt/pbis/lib' '-m64' '-O0' '-g' '-Wall' '-Werror' '-fno-strict-aliasing' '-Wl,-rpath,/opt/pbis/lib' '-Wl,-rpath-link,stage/opt/pbis/lib' '-llsaclient' '-llsacommon' '-llwadvapi' '-llwadvapi_nothr' '-llwbase' '-llwbase_nothr' '-lpopt'
    [la] /lib/security/pam_lsass.la (host/x86_64)
    [link] /lib/libnss_lsass.so.2 (host/x86_64)
Makefile:10589: recipe for target 'stage/opt/pbis/bin/lsa' failed
make: *** [stage/opt/pbis/bin/lsa] Error 1
make: *** Waiting for unfinished jobs....

Missing Configure Arguments to Pass the stage/opt/pbis/bin/lsa Error

It seems that the following CFLAGS: -Wl,--no-as-needed -ldl gets passed the the dl* errors.

# ../configure --build-isas=x86_64 CFLAGS=-Wl,--no-as-needed -ldl

We then tried make -j16 package, but we were then greeted with the following error.

[symlink] /opt/pbis/lib/libeventlog_norpc.so.0 -> libeventlog_norpc.so.0.0.0
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘do_join’:
../domainjoin/domainjoin-gui/gtk/main.c:445:9: error: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Werror=deprecated-declarations]
         g_thread_create(join_worker, &info, FALSE, NULL);
         ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
 GThread *g_thread_create       (GThreadFunc       func,
          ^
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘status_mode’:
           [symlink] /opt/pbis/lib/libeventlog_norpc.so -> libeventlog_norpc.so.0.0.0
../domainjoin/domainjoin-gui/gtk/main.c:544:13: error: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Werror=deprecated-declarations]
             g_thread_create(leave_worker, progress_dialog, FALSE, NULL);
             ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
 GThread *g_thread_create       (GThreadFunc       func,
          ^
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘main’:
../domainjoin/domainjoin-gui/gtk/main.c:601:5: error: ‘g_thread_init’ is deprecated [-Werror=deprecated-declarations]
     g_thread_init(NULL);
     ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^
           [symlink] /opt/pbis/lib/liblsacommon.so -> liblsacommon.so.0.0.0
           [symlink] /opt/pbis/lib/liblsacommon.so.0 -> liblsacommon.so.0.0.0
           [symlink] /opt/pbis/lib/liblwnetcommon.so.0 -> liblwnetcommon.so.0.0.0
                [la] /opt/pbis/lib/liblwadvapi.la (host/x86_64)
                [la] /opt/pbis/lib/libeventlog_norpc.la (host/x86_64)
             [group] netlogon/server/api/api (host/x86_64)
              [link] /opt/pbis/lib/libcentutils.so.0.0.0 (host/x86_64)
             [group] reapsysl/utils/utils (host/x86_64)
              [link] /opt/pbis/lib/liblwsmcommon.so.0.0.0 (host/x86_64)
             [group] reapsysl/server/api/api (host/x86_64)
                [la] /opt/pbis/lib/liblsacommon.la (host/x86_64)
           [symlink] /opt/likewise/bin/lwconfig -> /opt/pbis/bin/config
             [group] samba-interop/pstore-plugin/samba-pstore-plugin (host/x86_64)
              [link] /opt/pbis/lib/liblwdns.so.0.0.0 (host/x86_64)
                [la] /opt/pbis/lib/liblwnetcommon.la (host/x86_64)
             [group] lsass/client/api/api (host/x86_64)
             [group] lsass/client/api/api_thr (host/x86_64)
              [link] /opt/pbis/lib/liblsaclient_ntlm.so.0.0.0 (host/x86_64)
cc1: all warnings being treated as errors
             [group] lsass/client/privilege/privilege (host/x86_64)
           [compile] FAILED: 'gcc' '-m64' '-Wl,--no-as-needed' '-Wall' '-Werror' '-pthread' '-I../domainjoin/domainjoin-gui/gtk/.' '-Iobject/domainjoin/domainjoin-gui/gtk/.' '-I../domainjoin/domainjoin-gui/gtk/../../include' '-Iobject/domainjoin/domainjoin-gui/gtk/../../include' '-I../domainjoin/domainjoin-gui/gtk/../../libdomainjoin/include' '-Iobject/domainjoin/domainjoin-gui/gtk/../../libdomainjoin/include' '-DNDEBUG=1' '-I/usr/include/libglade-2.0' '-I/usr/include/gtk-2.0' '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include' '-I/usr/include/gio-unix-2.0/' '-I/usr/include/cairo' '-I/usr/include/pango-1.0' '-I/usr/include/atk-1.0' '-I/usr/include/cairo' '-I/usr/include/pixman-1' '-I/usr/include/libpng12' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng12' '-I/usr/include/pango-1.0' '-I/usr/include/harfbuzz' '-I/usr/include/pango-1.0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/freetype2' '-I/usr/include/libxml2' '-Istage/opt/pbis/include' '-DHAVE_CONFIG_H' '-D_MK_HOST_X86_64' '-D_MK_HOST' '-fPIC' '-MMD' '-MP' '-MF' '.MakeKitDeps/object_domainjoin_domainjoin-gui_gtk_main.domainjoin-gui.host.x86_64.dep' '-o' 'object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o' '-c' '../domainjoin/domainjoin-gui/gtk/main.c'
Makefile:11771: recipe for target 'object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o' failed
make: *** [object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o] Error 1
make: *** Waiting for unfinished jobs....
              [link] /opt/pbis/lib/lw-pstore/samba.so (host/x86_64)
             [group] lsass/client/ad/ad (host/x86_64)
              [link] /opt/pbis/lib/liblsapstore.so.0.0.0 (host/x86_64)
              [link] /opt/pbis/lib/liblwnetclientapi.so.0.0.0 (host/x86_64)
              [link] /opt/pbis/lib/libdsapi.so.0.0.0 (host/x86_64)
           [symlink] /opt/pbis/lib/liblwsmcommon.so.0 -> liblwsmcommon.so.0.0.0
             [group] netlogon/server/ipc/ipc (host/x86_64)
           [symlink] /opt/pbis/lib/libcentutils.so.0 -> libcentutils.so.0.0.0
         [configure] end curl (host/x86_64)

This looked like the "To build domainjoin-gui GTK application o 32bit development tools" dependencies issue even though we didn't want to build any of that so we installed all the dependencies "libglade2-dev libc6-dev-i386 gcc-multilib".

# apt-get install libglade2-dev libc6-dev-i386 gcc-multilib

We then cleaned, reconfigured, and tried to make.

# make clean
# ../configure --build-isas=x86_64 CFLAGS=-Wl,--no-as-needed -ldl
# make -j16 package

We received this error again.

 [link] /opt/pbis/lib/liblwnetcommon.so.0.0.0 (host/x86_64)
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘do_join’:
../domainjoin/domainjoin-gui/gtk/main.c:445:9: error: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Werror=deprecated-declarations]
         g_thread_create(join_worker, &info, FALSE, NULL);
         ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
 GThread *g_thread_create       (GThreadFunc       func,
          ^
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘status_mode’:
../domainjoin/domainjoin-gui/gtk/main.c:544:13: error: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Werror=deprecated-declarations]
             g_thread_create(leave_worker, progress_dialog, FALSE, NULL);
             ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
 GThread *g_thread_create       (GThreadFunc       func,
          ^
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘main’:
../domainjoin/domainjoin-gui/gtk/main.c:601:5: error: ‘g_thread_init’ is deprecated [-Werror=deprecated-declarations]
     g_thread_init(NULL);
     ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/libglade-2.0/glade/glade.h:25,
                 from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^
           [symlink] /opt/pbis/lib/liblsacommon.so.0 -> liblsacommon.so.0.0.0
           [symlink] /opt/pbis/lib/liblsacommon.so -> liblsacommon.so.0.0.0
           [symlink] /opt/likewise/bin/lwconfig -> /opt/pbis/bin/config
           [symlink] /opt/pbis/lib/liblwadvapi.so.0 -> liblwadvapi.so.0.0.0
           [symlink] /opt/pbis/lib/liblwadvapi.so -> liblwadvapi.so.0.0.0
           [symlink] /opt/pbis/lib/liblwnetcommon.so.0 -> liblwnetcommon.so.0.0.0
           [symlink] /opt/pbis/lib/liblwnetcommon.so -> liblwnetcommon.so.0.0.0
                [la] /opt/pbis/lib/liblwadvapi.la (host/x86_64)
                [la] /opt/pbis/lib/liblsacommon.la (host/x86_64)
                [la] /opt/pbis/lib/liblwnetcommon.la (host/x86_64)
             [group] netlogon/server/api/api (host/x86_64)
              [link] /opt/pbis/lib/liblwsmcommon.so.0.0.0 (host/x86_64)
             [group] lsass/client/api/api (host/x86_64)
cc1: all warnings being treated as errors
              [link] /opt/pbis/lib/libcentutils.so.0.0.0 (host/x86_64)
           [symlink] /opt/pbis/lib/libeventlog_norpc.so.0 -> libeventlog_norpc.so.0.0.0
           [compile] FAILED: 'gcc' '-m64' '-Wl,--no-as-needed' '-Wall' '-Werror' '-pthread' '-I../domainjoin/domainjoin-gui/gtk/.' '-Iobject/domainjoin/domainjoin-gui/gtk/.' '-I../domainjoin/domainjoin-gui/gtk/../../include' '-Iobject/domainjoin/domainjoin-gui/gtk/../../include' '-I../domainjoin/domainjoin-gui/gtk/../../libdomainjoin/include' '-Iobject/domainjoin/domainjoin-gui/gtk/../../libdomainjoin/include' '-DNDEBUG=1' '-I/usr/include/libglade-2.0' '-I/usr/include/gtk-2.0' '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include' '-I/usr/include/gio-unix-2.0/' '-I/usr/include/cairo' '-I/usr/include/pango-1.0' '-I/usr/include/atk-1.0' '-I/usr/include/cairo' '-I/usr/include/pixman-1' '-I/usr/include/libpng12' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng12' '-I/usr/include/pango-1.0' '-I/usr/include/harfbuzz' '-I/usr/include/pango-1.0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/freetype2' '-I/usr/include/libxml2' '-Istage/opt/pbis/include' '-DHAVE_CONFIG_H' '-D_MK_HOST_X86_64' '-D_MK_HOST' '-fPIC' '-MMD' '-MP' '-MF' '.MakeKitDeps/object_domainjoin_domainjoin-gui_gtk_main.domainjoin-gui.host.x86_64.dep' '-o' 'object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o' '-c' '../domainjoin/domainjoin-gui/gtk/main.c'
             [group] lsass/client/api/api_thr (host/x86_64)
             [group] lsass/client/ad/ad (host/x86_64)
             [group] lsass/client/privilege/privilege (host/x86_64)
Makefile:11771: recipe for target 'object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o' failed
             [group] reapsysl/utils/utils (host/x86_64)
make: *** [object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o] Error 1
make: *** Waiting for unfinished jobs....
             [group] reapsysl/server/api/api (host/x86_64)
              [link] /opt/pbis/lib/liblsapstore.so.0.0.0 (host/x86_64)
              [link] /opt/pbis/lib/libdsapi.so.0.0.0 (host/x86_64)
              [link] /opt/pbis/lib/liblwdns.so.0.0.0 (host/x86_64)
              [link] /opt/pbis/lib/liblsaclient_ntlm.so.0.0.0 (host/x86_64)
         [configure] end curl (host/x86_64)

We edited /tmp/pbis/domainjoin/domainjoin-gui/gtk/main.c with vi and changed the deprecated issues.
We then cleaned, reconfigured, and tried to make.

# make clean
# ../configure --build-isas=x86_64 CFLAGS=-Wl,--no-as-needed -ldl
# make -j16 package

This did not fix errors so we consulted the configure options and added "--dj-gui=no" to our configure command.

 # ../configure --dj-gui=no --build-isas=x86_64 CFLAGS=-Wl,--no-as-needed -ldl

We then cleaned, reconfigured, and tried to make.

# make clean
# ../configure --dj-gui=no --build-isas=x86_64 CFLAGS=-Wl,--no-as-needed -ldl
# make -j16 package

This made it much further but we still ended up with errors.

[deb] begin pbis-open
               [deb] begin pbis-open-legacy
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package pbis-open-legacy
dpkg-buildpackage: source version 8.5.0.0
dpkg-buildpackage: source distribution gutsy
dpkg-buildpackage: source changed by PBIS Support <[email protected]>
 dpkg-source --before-build build
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_clean
dh_clean: Pretending DH_COMPAT was set to 5
dh_clean:  - this is a temporary measure to avoid FTBFS in packages
dh_clean:    relying on cdbs to set debian/compat to 5 during the build
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
make[1]: Leaving directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
 debian/rules build
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dh_testdir
touch configure-stamp
dh_testdir
touch build-stamp
make[1]: Leaving directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
 fakeroot debian/rules binary
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dh_testdir
dh_testroot
dh_clean -k
dh_clean: Pretending DH_COMPAT was set to 5
dh_clean:  - this is a temporary measure to avoid FTBFS in packages
dh_clean:    relying on cdbs to set debian/compat to 5 during the build
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
dh_installdirs
dh_installdirs: No compatibility level specified in debian/compat
dh_installdirs: This package will soon FTBFS; time to fix it!
dh_installdirs: Compatibility levels before 4 are no longer supported (level 1 requested)
debian/rules:46: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
               [deb] FAILED: 'dpkg-buildpackage' '-rfakeroot' '-uc' '-b'
Makefile:12991: recipe for target 'package/deb/pbis-open-legacy' failed
make: *** [package/deb/pbis-open-legacy] Error 1
make: *** Waiting for unfinished jobs....
               [deb] built pbis-open-dev_8.5.0.0_amd64.deb
               [deb] built pbis-open_8.5.0.0_amd64.deb
               [deb] end pbis-open

We then did a clean and a make without the package argument.

# make clean
# make -j16

This ran through and succeded without error.

Packaged Up pbis/ for OptiPlex 7040

We now had a compiled and working pbis 8.5 on Ubuntu 16.04 LTS on the OptiPlex 7010 so we tared it and scped it to the 7040.

# tar cvfz pkbPBIS.tgz pbis/
# scp pkbPBIS.tgz <user>@<ip>:/tmp

On the 7040 we untared our .tgz.

# tar xvfz pkbPBIS.tgz

Then we changed the the pbis/debug/ directory and make install.

# cd pbis/debug/
# make install

After this we were able to run lwsmd.

# /tmp/pbis/debug/stage/opt/bin/pbis/sbin/lwsmd --start-as-daemon

This solved the segmentation fault that was happening during the table population of lwsmd orginally.
This is where I had to stop due to work ending. I will see if I can get the .deb package to work or a cleaner way to install on the OptiPlex 7040 since this is a pretty hacky way to have a working pbis installation.

Any help as to how to get the package built or how to compile and make on the 7040 would be great.

@davidmorash
Copy link

For the undefined references can you modify the lsass/tools/lw-lsa/MakeKitBuild file and add dl to the mk_program LIBDEPS line and see if that fixes it? I had the same problem and that fixed it for me.

@histamineblkr
Copy link
Author

I ended up clearing this issue by waiting and installing pbis 8.5. From there it worked without any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants